public FeatureToggleService(IFeatureToggleValueProvider featureToggleValueProvider) { if (featureToggleValueProvider == null) { throw new ArgumentNullException("featureToggleValueProvider"); } _featureToggleValueProvider = featureToggleValueProvider; }
public EnableFeatureInRequestDecorator(IFeatureToggleValueProvider inner) { _inner = inner; }
public Configuration(IFeatureToggleValueProvider valueProvider) { _valueProvider = valueProvider; }
public ConfigurationBuilder WithValueProvider(IFeatureToggleValueProvider valueProvider) { _valueProvider = valueProvider; return(this); }
public ConfigurationBuilder() { _valueProvider = CreateDefaultValueProvider(); _enableRequestOverrides = true; }
public ConfigurationBuilder WithValueProvider(IFeatureToggleValueProvider valueProvider) { _valueProvider = valueProvider; return this; }