public JsonConfiguration(string path) { if (path == null) { throw new ArgumentNullException("path"); } SettingChangedEventManager = new SettingChangedWeakEventManager(this); context = new JsonContext(); values = new Dictionary <string, object>(); this.path = path; // NB. List<T> is handled specially. // Perhaps Nullable<T> should be handled specially too, but there is already // a defaulting mechanism in Configuration anyway. Load(); }
public NullConfiguration() { SettingChangedEventManager = new SettingChangedWeakEventManager(this); }