예제 #1
0
 public static void ManageComponentsState(BeSafeConfig configuration, PipeServer pipeServer, bool stoppingService)
 {
     ProcessRegulator.Instance().Config(configuration, pipeServer, stoppingService);
     ModuleRegulator.Instance().Config(configuration, pipeServer, stoppingService);
     DirectoryRegulator.Instance().Config(configuration, pipeServer, stoppingService);
     RegistryRegulator.Instance().Config(configuration, pipeServer, stoppingService);
     SecureVolumeRegulator.Instance().Config(configuration, pipeServer, stoppingService);
 }
예제 #2
0
 public static ModuleRegulator Instance() => (SingletonInstance ?? (SingletonInstance = new ModuleRegulator()));