/// <summary> /// Creates a new <see cref="IRelayCommand"/> with the specified info and actions. /// </summary> /// /// <typeparam name="T">The parameter type of the command.</typeparam> /// <param name="info">The abstract information about the command.</param> /// <param name="execute">The execution action.</param> /// <param name="canExecute">The optional can execute function.</param> /// <returns>The constructed <see cref="IRelayCommand"/></returns> public abstract IRelayCommand Create <T>(IRelayCommandInfo info, Action <T> execute, Func <T, bool> canExecute = null);
/// <summary> /// Creates a new <see cref="IRelayCommand"/> with the specified info and actions. /// </summary> /// /// <param name="info">The abstract information about the command.</param> /// <param name="execute">The execution action.</param> /// <param name="canExecute">The optional can execute function.</param> /// <returns>The constructed <see cref="IRelayCommand"/></returns> public abstract IRelayCommand Create(IRelayCommandInfo info, Action execute, Func <bool> canExecute = null);