回答編集履歴
1
論理反転
answer
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
{
|
10
10
|
OkButtonCommand =
|
11
11
|
XTextBoxText
|
12
|
-
.CombineLatest(YTextBoxText, (x, y) => string.IsNullOrEmpty(x) || string.IsNullOrEmpty(y))
|
12
|
+
.CombineLatest(YTextBoxText, (x, y) => !(string.IsNullOrEmpty(x) || string.IsNullOrEmpty(y)))
|
13
13
|
.ToReactiveCommand(false);
|
14
14
|
|
15
15
|
OkButtonCommand.Subscribe(_ => SomethingToDo());
|