Exemplo n.º 1
0
 public static void UnRegisterProxy(string commandName)
 {
     Logger.Information($"Unregistering {commandName} proxy.");
     AppDomainManager.UnregisterProxyCommand(commandName);
     RemoveProxy(commandName);
 }
Exemplo n.º 2
0
 public static void RegisterProxy(this CommandProxy commandProxy)
 {
     Logger.Information($"Registering {commandProxy.CommandName} proxy.");
     AppDomainManager.RegisterProxyCommand(commandProxy);
     AddProxy(commandProxy);
 }