public DiagnosticCommand(string name, string description, DiagnosticCommandAction action)
 {
     this.Name = name;
     this.Description = description;
     this.Action = action;
 }
 public void RegisterCommand(string name, string description, DiagnosticCommandAction action)
 {
     commands.Add(name.ToLower(), new DiagnosticCommand(name, description, action));
 }
Example #3
0
 public DiagnosticCommand(string name, string description, DiagnosticCommandAction action)
 {
     this.Name        = name;
     this.Description = description;
     this.Action      = action;
 }
 public void RegisterCommand(string name, string description, DiagnosticCommandAction action)
 {
     commands.Add(name.ToLower(), new DiagnosticCommand(name, description, action));
 }