You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Src/AsyncAwaitBestPractices.MVVM/AsyncCommand.cs
+17-30Lines changed: 17 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,13 @@ public sealed class AsyncCommand<T> : IAsyncCommand
21
21
/// Initializes a new instance of the <see cref="T:TaskExtensions.MVVM.AsyncCommand`1"/> class.
22
22
/// </summary>
23
23
/// <param name="execute">The Function executed when Execute or ExecuteAysnc is called. This does not check canExecute before executing and will execute even if canExecute is false</param>
24
-
/// <param name="continueOnCapturedContext">If set to <c>true</c> continue on captured context; this will ensure that the Synchronization Context returns to the calling thread. If set to <c>false</c> continue on a different context; this will allow the Synchronization Context to continue on a different thread</param>
25
-
/// <param name="onException">If an exception is thrown in the Task, <c>onException</c> will execute. If onException is null, the exception will be re-thrown</param>
26
24
/// <param name="canExecute">The Function that verifies whether or not AsyncCommand should execute.</param>
25
+
/// <param name="onException">If an exception is thrown in the Task, <c>onException</c> will execute. If onException is null, the exception will be re-thrown</param>
26
+
/// <param name="continueOnCapturedContext">If set to <c>true</c> continue on captured context; this will ensure that the Synchronization Context returns to the calling thread. If set to <c>false</c> continue on a different context; this will allow the Synchronization Context to continue on a different thread</param>
@@ -125,9 +112,9 @@ public sealed class AsyncCommand : IAsyncCommand
125
112
/// <param name="onException">If an exception is thrown in the Task, <c>onException</c> will execute. If onException is null, the exception will be re-thrown</param>
126
113
/// <param name="canExecute">The Function that verifies whether or not AsyncCommand should execute.</param>
0 commit comments