public AgentCommandRegister(Command command, TypeConverterSet set) { _VersionProvider = new AgentCommandVersionProvider(); _Invokers = new System.Collections.Generic.List <AgentCommand>(); this._Command = command; this._TypeConverterSet = set; }
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)}]"; }
public AgentCommandRegister(Command command) { _VersionProvider = new AgentCommandVersionProvider(); _Invokers = new System.Collections.Generic.List <AgentCommand>(); this._Command = command; }