示例#1
0
 public SuperSimpleCommand(Action executeMethod)
 {
     this.executeMethod    = executeMethod;
     this.canExecuteMethod = () => { return(true); };
 }
示例#2
0
 public SuperSimpleCommand(Action executeMethod)
 {
     this.executeMethod = executeMethod;
     this.canExecuteMethod = () => { return true; };
 }
示例#3
0
 public SuperSimpleCommand(SuperSimpleCanExecuteDelegate canExecuteMethod, Action executeMethod)
 {
     this.executeMethod    = executeMethod;
     this.canExecuteMethod = canExecuteMethod;
 }
示例#4
0
 public SuperSimpleCommand(SuperSimpleCanExecuteDelegate canExecuteMethod, Action executeMethod)
 {
     this.executeMethod = executeMethod;
     this.canExecuteMethod = canExecuteMethod;
 }