Ejemplo n.º 1
0
 public Command(Commands command, params object[] args)
 {
     this.Rule = CommandRules.Rules(command);
     this.Validate(command, args);
     this.Arguments = args;
     this.Immediate = this.Rule.IsImmediate;
 }
Ejemplo n.º 2
0
 public Command(Commands command, params object[] args)
 {
     Rule = CommandRules.Rules(command);
     Validate(command, args);
     Arguments = args;
     Immediate = Rule.Immediate;
 }
Ejemplo n.º 3
0
 public override string ToString()
 {
     return(CommandRules
            .Rules(this.Rule.Command)
            .ToString(this.Arguments));
 }