public object GetKey(string key) { IEnumerable<ISettingsSource> sources = new[]{new SettingsSource(new []{Data})}; var sp = new SettingsProvider(null, sources); var result = sp.SettingFor(key); return result; }
public object GetKey(string key) { IEnumerable<ISettingsSource> sources = new[]{new SettingsSource(new []{Data})}; var sp = new SettingsProvider(null, sources); var result = sp.SettingFor(key); return result; }