diff --git a/src/ReactiveUI/ReactiveCommand/ReactiveCommand.cs b/src/ReactiveUI/ReactiveCommand/ReactiveCommand.cs index 0e8c722324..f7d3216103 100644 --- a/src/ReactiveUI/ReactiveCommand/ReactiveCommand.cs +++ b/src/ReactiveUI/ReactiveCommand/ReactiveCommand.cs @@ -41,7 +41,7 @@ namespace ReactiveUI /// /// (x => Console.WriteLine(x)); + /// ReactiveCommand command = ReactiveCommand.Create(x => Console.WriteLine(x)); /// /// // This outputs 42 to console. /// command.Execute(42).Subscribe(); @@ -60,7 +60,7 @@ namespace ReactiveUI /// ( - /// () => Observable.Return(42).Delay(TimeSpan.FromSeconds(2)) + /// _ => Observable.Return(42).Delay(TimeSpan.FromSeconds(2)) /// ); /// /// // Calling the asynchronous reactive command: