浏览代码

Fix compile error.

Jeremy Koritzinsky 8 年之前
父节点
当前提交
8aa95d403e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      samples/BindingTest/ViewModels/NestedCommandViewModel.cs

+ 1 - 1
samples/BindingTest/ViewModels/NestedCommandViewModel.cs

@@ -12,7 +12,7 @@ namespace BindingTest.ViewModels
     {
         public NestedCommandViewModel()
         {
-            Command = ReactiveCommand.Create();
+            Command = ReactiveCommand.Create(() => { });
         }
 
         public ICommand Command { get; }