Exemplo n.º 1
0
        public virtual bool IsEnabled(string specificEntityId)
        {
            if (_currentEnvironment == 0)
            {
                _currentEnvironment = JsonConfigHelper.GetEnvironment();
            }

            return(_togglerHelper.IsEnabled(this, _currentEnvironment, _currentPlatform, specificEntityId, _isTestMode, _applications));
        }
Exemplo n.º 2
0
 public JsonTogglerService() : this(JsonConfigHelper.GetJsonFileDirectory())
 {
 }
Exemplo n.º 3
0
 public SubFeatureToggle()
     : this(JsonConfigHelper.GetPlatform(), JsonConfigHelper.GetEnvironment(), JsonConfigHelper.GetIsTestMode(), JsonConfigHelper.GetApplications())
 {
 }
Exemplo n.º 4
0
 public JsonFeatureToggler(PlatformEnum platform, EnvironmentEnum environment)
     : this(platform, environment, JsonConfigHelper.GetIsTestMode(), JsonConfigHelper.GetApplications())
 {
 }
Exemplo n.º 5
0
 public JsonFeatureToggler()
     : this(JsonConfigHelper.GetPlatform())
 {
 }