Exemplo n.º 1
0
        public JsonConfiguration()
        {
            SettingChangedEventManager = new SettingChangedWeakEventManager(this);
            context = new JsonContext();
            values  = new Dictionary <string, object>();
            path    = "config";

            // 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();
        }
Exemplo n.º 2
0
 public NullConfiguration()
 {
     SettingChangedEventManager = new SettingChangedWeakEventManager(this);
 }