コード例 #1
0
 /// <summary>
 /// Creates a new instance of <see cref="ParameterizedMultiCommand"/>.
 /// </summary>
 /// <param name="action">The action to be invoked.</param>
 public ParameterizedMultiCommand(ParameterizedCommandAction action)
 {
     Actions = new List <ParameterizedCommandAction> {
         action
     };
 }
コード例 #2
0
 /// <summary>
 /// Creates a new instance of <see cref="ParameterizedAnyCommand"/>.
 /// </summary>
 /// <param name="action">The action to be invoked.</param>
 public ParameterizedAnyCommand(ParameterizedCommandAction action) : base(action)
 {
 }