Example #1
0
 internal DebugCommand(Debugger.CommandFunction func, params CommandType[] types)
 {
     RegisterTypes(types);
     this.func = func;
     foreach (var t in types) {
         HelpArguments += t.ToString().ToLower() + " ";
     }
     HelpArguments = HelpArguments.TrimEnd(' ');
     ArgumentCount = types.Length;
 }
Example #2
0
 internal DebugCommand(Debugger.CommandFunction func, params CommandType[] types)
 {
     RegisterTypes(types);
     this.func = func;
     foreach (var t in types)
     {
         HelpArguments += t.ToString().ToLower() + " ";
     }
     HelpArguments = HelpArguments.TrimEnd(' ');
     ArgumentCount = types.Length;
 }