Ejemplo n.º 1
0
 public bool CanExecute(IBehaviorContext context, object parameter)
 {
     LastCanExecuteInvocation = new HandlerInvocation {
         Context = context, Parameter = parameter
     };
     return(ResultToReturn);
 }
Ejemplo n.º 2
0
 public void Execute(IBehaviorContext context, object parameter)
 {
     LastExecuteInvocation = new HandlerInvocation {
         Context = context, Parameter = parameter
     };
 }