public ConfigurableMethodsTest() { _store = new DictionaryConfigStore(); _config = new ConfigurationBuilder <ICallableConfig>() .UseConfigStore(_store) .Build(); }
public NotifyPropertyChangedTest() { _store = new DictionaryConfigStore(); _interface = new ConfigurationBuilder <INPC>() .UseConfigStore(_store) .Build(); }
public NestedInterfacesTest() { _store = new DictionaryConfigStore(); _config = new ConfigurationBuilder <IMaster>() .UseConfigStore(_store) .Build(); }
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); }