コード例 #1
0
 public static CommandResult Duplicate(CommandBase command, string message) => Fail(command, CommandResultError.Duplicate, message);
コード例 #2
0
 public static CommandResult Success(CommandBase command, string message = "") =>
 new CommandResult(command)
 {
     IsSuccess = true,
     Message   = message,
 };
コード例 #3
0
 public static CommandResult NotModified(CommandBase command, string message) => Fail(command, CommandResultError.NotModified, message);
コード例 #4
0
 protected CommandResult(CommandBase command)
 {
     Command = command;
 }