Пример #1
0
        public ConnectionStringSettings Resolve(string connectionName)
        {
            var setting = _connectionStringSettingsList.GetOrAdd(connectionName, connName => _settingOperations.Get(SettingId.GetConnection(connName)));

            return(new ConnectionStringSettings(connectionName, setting.Value));
        }
Пример #2
0
 public Setting(SettingId id, string value)
 {
     Category = id.Category;
     Config   = id.Config;
     Value    = value;
 }