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