public bool Load(string uri) { cachedElements = new Dictionary <string, ConfigElement>(); IConfigPropertySourceAdapter <string, string> propertySourceAdapter = null; IConfigNavigationSourceAdapter <string, ConfigElement> elementSourceAdapter = null; ConfigSourceFactory.Load(uri, out propertySourceAdapter, out elementSourceAdapter); this.propertiesSource = propertySourceAdapter; Elements = new ConfigElements(elementSourceAdapter); //Walk structure and build cache return(false); }
public ConfigElement(IConfigPropertySourceAdapter <string, string> propertySourceAdapter, IConfigNavigationSourceAdapter <string, ConfigElement> elementSourceAdapter) { this.propertiesSource = propertySourceAdapter; Elements = new ConfigElements(elementSourceAdapter); }