Exemplo n.º 1
0
        public static IProcessServer Get(ITaskManager taskManager = null,
                                         IEnvironment environment = null,
                                         IRpcProcessConfiguration configuration = null)
        {
            if (instance?.disposed ?? false)
            {
                instance = null;
            }

            if (instance == null)
            {
                var inst = new ProcessServer(taskManager, environment ?? TheEnvironment.instance.Environment, configuration);
                instance = inst;
            }
            return(instance);
        }
Exemplo n.º 2
0
 public ServerNotifications(ProcessServer server)
 {
     this.server = server;
 }