public AugurkController(ICustomizationManager customizationManager, IConfigurationManager configurationManager, IFeatureManager featureManager, IExpirationManager expirationManager, IDocumentStoreProvider storeProvider) { _customizationManager = customizationManager ?? throw new ArgumentNullException(nameof(customizationManager)); _configurationManager = configurationManager ?? throw new ArgumentNullException(nameof(configurationManager)); _featureManager = featureManager ?? throw new ArgumentNullException(nameof(featureManager)); _expirationManager = expirationManager ?? throw new ArgumentNullException(nameof(expirationManager)); _documentStore = storeProvider?.Store ?? throw new ArgumentNullException(nameof(storeProvider)); }
public ConfigurationManager(IDocumentStoreProvider documentStoreProvider, IExpirationManager expirationManager) { _storeProvider = documentStoreProvider ?? throw new ArgumentNullException(nameof(documentStoreProvider)); _expirationManager = expirationManager ?? throw new ArgumentNullException(nameof(expirationManager)); }