public void SetUp()
        {
            _environmentSettingsMutex = new EnvironmentSettingsMutex();
            _environmentSettingsMutex.SetEnvironmentVariable(_environmentVariableKey, "42");

            DefaultSettingsReader.SetStrategy(new DefaultStaticSettingReaderStrategy());
        }
        public void SetUp()
        {
            _environmentSettingsMutex = new EnvironmentSettingsMutex();
            _environmentSettingsMutex.SetEnvironmentVariable(_environmentVariableKey, "42");

            DefaultSettingsReader.SetStrategy(new DefaultStaticSettingReaderStrategy());
        }
Exemplo n.º 3
0
        public void SetUp()
        {
            _environmentSettingsMutex = new EnvironmentSettingsMutex();

            DefaultSettingsReader.SetStrategy(new DefaultStaticSettingReaderStrategy());

            _setting = DefaultSettingsReader.Get <SimpleIntSetting>();
        }
        public void SetUp()
        {
            _environmentSettingsMutex = new EnvironmentSettingsMutex();

            DefaultSettingsReader.SetStrategy(new DefaultStaticSettingReaderStrategy());

            _setting = DefaultSettingsReader.Get<SimpleIntSetting>();
        }