public static IViewModelCommand CreateCommand(this ViewModelCommandManager commandManager, Action executeMethod, Func <bool> canExecuteMethod, [CallerMemberName] string name = null) { return(commandManager.CreateCommand(name, executeMethod, canExecuteMethod)); }
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)); }
public static IViewModelCommand CreateCommand(this ViewModelCommandManager commandManager, [CallerMemberName] string name = null) { return(commandManager.CreateCommand(name)); }