From be798d4eca449fab24ccb676245f0a0d666796ae Mon Sep 17 00:00:00 2001 From: Lixfeld Date: Thu, 9 Jan 2020 18:52:31 +0100 Subject: [PATCH] Fix invalid syntax in API documentation --- src/ReactiveUI/ReactiveCommand/ReactiveCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: