Example #1
0
 public AgentCommandRegister(Command command, TypeConverterSet set)
 {
     _VersionProvider       = new AgentCommandVersionProvider();
     _Invokers              = new System.Collections.Generic.List <AgentCommand>();
     this._Command          = command;
     this._TypeConverterSet = set;
 }
Example #2
0
 public AgentCommand(AgentCommandVersionProvider provider, System.Type type, MethodStringInvoker invoker)
 {
     Target = invoker.Target;
     Name   = $"{type.Name}-{ provider.GetVersion(type, invoker.Method)   }.{invoker.Method.Name} [{_BuildParams(invoker.Method)}]";
 }
Example #3
0
 public AgentCommandRegister(Command command)
 {
     _VersionProvider = new AgentCommandVersionProvider();
     _Invokers        = new System.Collections.Generic.List <AgentCommand>();
     this._Command    = command;
 }