public ResourceWatcher(IResourceWatcherConfig config, IStateProvider stateProvider) { EnsureArg.IsNotNull(config); EnsureArg.IsNotNull(stateProvider); _config = config; _stateProvider = stateProvider; }
public ResourceWatcher(IResourceWatcherConfig config, IStateProvider stateProvider) { EnsureArg.IsNotNull(config); EnsureArg.IsNotNull(stateProvider); _config = config; _stateProvider = stateProvider; _diagnosticSource = new ResourceWatcherDiagnosticSource(config.Tenant, _logger); }