Skip to content

Instantly share code, notes, and snippets.

@mikeedwards83
Created January 18, 2012 20:33
Show Gist options
  • Save mikeedwards83/1635407 to your computer and use it in GitHub Desktop.
Save mikeedwards83/1635407 to your computer and use it in GitHub Desktop.
Example of Multiple Loader Setup
_context = new Context(
config,
new MyModuleConfig(),
new MyModuleConfig2());
//this class is in another assembly
public class MyModuleConfig : IModuleConfiguration{
//This is implemented from the interface
public IConfigurationLoader GetConfig(){
AttributeConfigurationLoader loader = new AttributeConfigurationLoader(
new string[] { "MyModule.Domains, MyModule" }
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment