Exemple #1
0
        public static void ExecuteCommand(
			ICommand command, 
			GestureArgs parameter = null)
        {
            if (command != null &&
                command.CanExecute (parameter)) {
                command.Execute (parameter);
            }
        }
Exemple #2
0
 public static void ExecuteCommand(
     ICommand command,
     GestureArgs parameter = null)
 {
     if (command != null &&
         command.CanExecute(parameter))
     {
         command.Execute(parameter);
     }
 }