Exemplo n.º 1
0
        internal static CommandResult FromError(string errorMessage)
        {
            var commandResult = new CommandResult(false);

            commandResult.SetToError(errorMessage);
            return(commandResult);
        }
Exemplo n.º 2
0
        internal static CommandResult FromError(Exception exception)
        {
            var commandResult = new CommandResult(false);

            commandResult.SetToError(exception);
            return(commandResult);
        }
Exemplo n.º 3
0
 internal static CommandResult FromError(string errorMessage)
 {
     var commandResult = new CommandResult(false);
     commandResult.SetToError(errorMessage);
     return commandResult;
 }
Exemplo n.º 4
0
 internal static CommandResult FromError(Exception exception)
 {
     var commandResult = new CommandResult(false);
     commandResult.SetToError(exception);
     return commandResult;
 }