Exemple #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);
 }
Exemple #2
0
 public static ModuleRegulator Instance() => (SingletonInstance ?? (SingletonInstance = new ModuleRegulator()));