Exemple #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);
        }
Exemple #2
0
 public ServerNotifications(ProcessServer server)
 {
     this.server = server;
 }