Пример #1
0
        public virtual bool IsEnabled(string specificEntityId)
        {
            if (_currentEnvironment == 0)
            {
                _currentEnvironment = JsonConfigHelper.GetEnvironment();
            }

            return(_togglerHelper.IsEnabled(this, _currentEnvironment, _currentPlatform, specificEntityId, _isTestMode, _applications));
        }
Пример #2
0
 public SubFeatureToggle()
     : this(JsonConfigHelper.GetPlatform(), JsonConfigHelper.GetEnvironment(), JsonConfigHelper.GetIsTestMode(), JsonConfigHelper.GetApplications())
 {
 }
Пример #3
0
 public JsonFeatureToggler(PlatformEnum platform)
     : this(platform, JsonConfigHelper.GetEnvironment(), JsonConfigHelper.GetIsTestMode(), JsonConfigHelper.GetApplications())
 {
 }