Re: Configuring Facility without XML

2010-02-25 Thread Jason Meckley
Kernel.ConfigurationStore has a series of Add/Get methods which is what you probably want for testing. here is an example var cfg = new MututableConfiguration(facility); cfg .Attribute(number, 1) .Attribute(text, abc) .CreateChild(childNode, value) .Attribute(trueorfalse, true);

Configuring Facility without XML

2010-02-25 Thread Markus Zywitza
Hi want to register a facility (Db4oFacility) that requires some configuration. I can do this with XML but for my integration tests, I'd prefer using an XML-less method. However, there IConfiguration is get-only in AbstractFacility and the only way to add a IConfiguration would be calling