public void Config(BeSafeConfig config, PipeServer pipeServer, bool stoppingService) { bool stateResult = (((config?.ComponentsState.ModuleWatcher == true) && (stoppingService == false)) ? _moduleWatcher.Start() : _moduleWatcher.Stop()); }