コード例 #1
0
 public static IViewModelCommand CreateCommand(this ViewModelCommandManager commandManager, Action executeMethod, Func <bool> canExecuteMethod, [CallerMemberName] string name = null)
 {
     return(commandManager.CreateCommand(name, executeMethod, canExecuteMethod));
 }
コード例 #2
0
 public static IViewModelCommand CreateCommand(this ViewModelCommandManager commandManager, Func <object, Task> executeMethod, Func <object, bool> canExecuteMethod, Action <Task, Exception> exceptionHandlerMethod, [CallerMemberName] string name = null)
 {
     return(commandManager.CreateCommand(name, executeMethod, canExecuteMethod, exceptionHandlerMethod));
 }
コード例 #3
0
 public static IViewModelCommand CreateCommand(this ViewModelCommandManager commandManager, [CallerMemberName] string name = null)
 {
     return(commandManager.CreateCommand(name));
 }