From 8777119a991b23636d6ecc9e9679506b04f7339a Mon Sep 17 00:00:00 2001 From: Guido Marucci Blas Date: Mon, 26 Jan 2015 17:15:11 -0300 Subject: [PATCH] Changes ref to out The documentation seems to outdated, I was having compile error when trying to convert a command to property based on this example and realized that I should use `out` instead of `ref` --- docs/basics/reactive-command-async.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basics/reactive-command-async.md b/docs/basics/reactive-command-async.md index 4ae0ae4285..a893b5a88a 100644 --- a/docs/basics/reactive-command-async.md +++ b/docs/basics/reactive-command-async.md @@ -46,7 +46,7 @@ LoadUsersAndAvatars = ReactiveCommand.CreateAsyncTask(async _ => { return users; }); -LoadUsersAndAvatars.ToProperty(this, x => x.Users, ref users); +LoadUsersAndAvatars.ToProperty(this, x => x.Users, out users); LoadUsersAndAvatars.ThrownExceptions .Subscribe(ex => this.Log().WarnException("Failed to load users", ex));