Skip to content

Commit 0e26a29

Browse files
committed
Update async commands XML docs
1 parent f6ca1f0 commit 0e26a29

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

CommunityToolkit.Mvvm/Input/AsyncRelayCommand.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public sealed class AsyncRelayCommand : IAsyncRelayCommand
7272
public event EventHandler? CanExecuteChanged;
7373

7474
/// <summary>
75-
/// Initializes a new instance of the <see cref="AsyncRelayCommand"/> class that can always execute.
75+
/// Initializes a new instance of the <see cref="AsyncRelayCommand"/> class.
7676
/// </summary>
7777
/// <param name="execute">The execution logic.</param>
7878
/// <exception cref="System.ArgumentNullException">Thrown if <paramref name="execute"/> is <see langword="null"/>.</exception>
@@ -84,7 +84,7 @@ public AsyncRelayCommand(Func<Task> execute)
8484
}
8585

8686
/// <summary>
87-
/// Initializes a new instance of the <see cref="AsyncRelayCommand"/> class that can always execute.
87+
/// Initializes a new instance of the <see cref="AsyncRelayCommand"/> class.
8888
/// </summary>
8989
/// <param name="execute">The execution logic.</param>
9090
/// <param name="allowConcurrentExecutions">Whether or not to allow concurrent executions of the command.</param>
@@ -98,7 +98,7 @@ public AsyncRelayCommand(Func<Task> execute, bool allowConcurrentExecutions)
9898
}
9999

100100
/// <summary>
101-
/// Initializes a new instance of the <see cref="AsyncRelayCommand"/> class that can always execute.
101+
/// Initializes a new instance of the <see cref="AsyncRelayCommand"/> class.
102102
/// </summary>
103103
/// <param name="cancelableExecute">The cancelable execution logic.</param>
104104
/// <exception cref="System.ArgumentNullException">Thrown if <paramref name="cancelableExecute"/> is <see langword="null"/>.</exception>
@@ -110,7 +110,7 @@ public AsyncRelayCommand(Func<CancellationToken, Task> cancelableExecute)
110110
}
111111

112112
/// <summary>
113-
/// Initializes a new instance of the <see cref="AsyncRelayCommand"/> class that can always execute.
113+
/// Initializes a new instance of the <see cref="AsyncRelayCommand"/> class.
114114
/// </summary>
115115
/// <param name="cancelableExecute">The cancelable execution logic.</param>
116116
/// <param name="allowConcurrentExecutions">Whether or not to allow concurrent executions of the command.</param>

CommunityToolkit.Mvvm/Input/AsyncRelayCommand{T}.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public sealed class AsyncRelayCommand<T> : IAsyncRelayCommand<T>
4848
public event EventHandler? CanExecuteChanged;
4949

5050
/// <summary>
51-
/// Initializes a new instance of the <see cref="AsyncRelayCommand{T}"/> class that can always execute.
51+
/// Initializes a new instance of the <see cref="AsyncRelayCommand{T}"/> class.
5252
/// </summary>
5353
/// <param name="execute">The execution logic.</param>
5454
/// <remarks>See notes in <see cref="RelayCommand{T}(Action{T})"/>.</remarks>
@@ -61,7 +61,7 @@ public AsyncRelayCommand(Func<T?, Task> execute)
6161
}
6262

6363
/// <summary>
64-
/// Initializes a new instance of the <see cref="AsyncRelayCommand{T}"/> class that can always execute.
64+
/// Initializes a new instance of the <see cref="AsyncRelayCommand{T}"/> class.
6565
/// </summary>
6666
/// <param name="execute">The execution logic.</param>
6767
/// <param name="allowConcurrentExecutions">Whether or not to allow concurrent executions of the command.</param>
@@ -76,7 +76,7 @@ public AsyncRelayCommand(Func<T?, Task> execute, bool allowConcurrentExecutions)
7676
}
7777

7878
/// <summary>
79-
/// Initializes a new instance of the <see cref="AsyncRelayCommand{T}"/> class that can always execute.
79+
/// Initializes a new instance of the <see cref="AsyncRelayCommand{T}"/> class.
8080
/// </summary>
8181
/// <param name="cancelableExecute">The cancelable execution logic.</param>
8282
/// <remarks>See notes in <see cref="RelayCommand{T}(Action{T})"/>.</remarks>
@@ -89,7 +89,7 @@ public AsyncRelayCommand(Func<T?, CancellationToken, Task> cancelableExecute)
8989
}
9090

9191
/// <summary>
92-
/// Initializes a new instance of the <see cref="AsyncRelayCommand{T}"/> class that can always execute.
92+
/// Initializes a new instance of the <see cref="AsyncRelayCommand{T}"/> class.
9393
/// </summary>
9494
/// <param name="cancelableExecute">The cancelable execution logic.</param>
9595
/// <param name="allowConcurrentExecutions">Whether or not to allow concurrent executions of the command.</param>

0 commit comments

Comments
 (0)