12
12
namespace PT . EssentialMVVM
13
13
{
14
14
/// <summary>
15
- /// An implementation of ICommand that can be initialized in a ViewModel for
16
- /// execution, through binding, by a Control in a View.
15
+ /// An implementation of the <see cref=" ICommand"/> interface that can be initialized
16
+ /// in a ViewModel for execution, through binding, by a Control in a View.
17
17
/// </summary>
18
18
public class ViewModelCommand : ICommand
19
19
{
@@ -31,7 +31,7 @@ public class ViewModelCommand : ICommand
31
31
/// Initializes a new instance of the <see cref="ViewModelCommand"/> class.
32
32
/// </summary>
33
33
/// <remarks>The command can always be executed</remarks>
34
- /// <param name="execute">The command to Execute</param>
34
+ /// <param name="execute">The action for the Command to Execute</param>
35
35
public ViewModelCommand ( Action execute )
36
36
: this ( execute , null )
37
37
{
@@ -41,7 +41,7 @@ public ViewModelCommand(Action execute)
41
41
/// <summary>
42
42
/// Initializes a new instance of the <see cref="ViewModelCommand"/> class.
43
43
/// </summary>
44
- /// <param name="command">The command to Execute</param>
44
+ /// <param name="command">The action for the Command to Execute</param>
45
45
/// <param name="canExecute">A function that determines whether the Command can be Executed</param>
46
46
public ViewModelCommand ( Action command , Func < bool > canExecute )
47
47
{
@@ -83,7 +83,7 @@ public event EventHandler CanExecuteChanged
83
83
}
84
84
85
85
/// <summary>
86
- /// Used by the command to determine whether the Command can be Executed
86
+ /// Determine if the Command can be Executed
87
87
/// </summary>
88
88
/// <param name="parameter">object used by the command</param>
89
89
/// <remarks>If null is passed, the return value will be true</remarks>
0 commit comments