Example #1
0
        public ConfigurableMethodsTest()
        {
            _store = new DictionaryConfigStore();

            _config = new ConfigurationBuilder <ICallableConfig>()
                      .UseConfigStore(_store)
                      .Build();
        }
Example #2
0
        public NotifyPropertyChangedTest()
        {
            _store = new DictionaryConfigStore();

            _interface = new ConfigurationBuilder <INPC>()
                         .UseConfigStore(_store)
                         .Build();
        }
Example #3
0
        public NestedInterfacesTest()
        {
            _store = new DictionaryConfigStore();

            _config = new ConfigurationBuilder <IMaster>()
                      .UseConfigStore(_store)
                      .Build();
        }
Example #4
0
        protected override IConfigStore CreateStore()
        {
            var result = new DictionaryConfigStore();

            result.Write("Numbers", "1 2 3");
            result.Write("Creds[0].Username", "user1");
            result.Write("Creds[0].Password", "pass1");
            result.Write("Creds[1].Username", "user2");
            result.Write("Creds[1].Password", "pass2");
            result.Write("Creds.$l", "2");
            return(result);
        }