public static IAppMessage CompletedCommandExecution(ICommandSpec spec, object payload = null) => inform($"Executed @SpecName", new { spec.CommandName, spec.SpecName, Description = spec.ToString() });
public override string ToString() => Command.ToString();
public static IAppMessage EmptyCommandResult(ICommandSpec command) => inform($"No result available for the @CommandName command", new { CommandName = command.CommandName, Detail = command.ToString() });