Пример #1
0
        public FeatureToggleService(IFeatureToggleValueProvider featureToggleValueProvider)
        {
            if (featureToggleValueProvider == null)
            {
                throw new ArgumentNullException("featureToggleValueProvider");
            }

            _featureToggleValueProvider = featureToggleValueProvider;
        }
Пример #2
0
        public FeatureToggleService(IFeatureToggleValueProvider featureToggleValueProvider)
        {
            if (featureToggleValueProvider == null)
            {
                throw new ArgumentNullException("featureToggleValueProvider");
            }

            _featureToggleValueProvider = featureToggleValueProvider;
        }
 public EnableFeatureInRequestDecorator(IFeatureToggleValueProvider inner)
 {
     _inner = inner;
 }
Пример #4
0
 public Configuration(IFeatureToggleValueProvider valueProvider)
 {
     _valueProvider = valueProvider;
 }
Пример #5
0
 public ConfigurationBuilder WithValueProvider(IFeatureToggleValueProvider valueProvider)
 {
     _valueProvider = valueProvider;
     return(this);
 }
Пример #6
0
 public ConfigurationBuilder()
 {
     _valueProvider          = CreateDefaultValueProvider();
     _enableRequestOverrides = true;
 }
Пример #7
0
 public ConfigurationBuilder WithValueProvider(IFeatureToggleValueProvider valueProvider)
 {
     _valueProvider = valueProvider;
     return this;
 }
Пример #8
0
 public ConfigurationBuilder()
 {
     _valueProvider = CreateDefaultValueProvider();
     _enableRequestOverrides = true;
 }
 public EnableFeatureInRequestDecorator(IFeatureToggleValueProvider inner)
 {
     _inner = inner;
 }
Пример #10
0
 public Configuration(IFeatureToggleValueProvider valueProvider)
 {
     _valueProvider = valueProvider;
 }