Example #1
0
 public AsyncCommand(Func <object, Task> execute, ICommandExecutionPolicy policy)
     : this(execute, (Predicate <object>)null)
 {
     this.policy = policy;
 }
Example #2
0
 public DelegateCommand(Action <object> execute, ICommandExecutionPolicy policy)
     : this(execute, (Predicate <object>)null)
 {
     this.policy = policy;
 }