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

            return(_togglerHelper.IsEnabled(this, _currentEnvironment, _currentPlatform, specificEntityId, _isTestMode, _applications));
        }
Esempio n. 2
0
 public SubFeatureToggle()
     : this(JsonConfigHelper.GetPlatform(), JsonConfigHelper.GetEnvironment(), JsonConfigHelper.GetIsTestMode(), JsonConfigHelper.GetApplications())
 {
 }
Esempio n. 3
0
 public JsonFeatureToggler(PlatformEnum platform)
     : this(platform, JsonConfigHelper.GetEnvironment(), JsonConfigHelper.GetIsTestMode(), JsonConfigHelper.GetApplications())
 {
 }