Skip to content

Instantly share code, notes, and snippets.

@jmarnold
Created August 24, 2010 14:11
Show Gist options
  • Save jmarnold/547611 to your computer and use it in GitHub Desktop.
Save jmarnold/547611 to your computer and use it in GitHub Desktop.
CommanderFactory.Initialize(facility, registry =>
{
registry
.Applies
.ToThisAssembly();
registry
.Entities
.IncludeType<User>();
// builders
//Builders
// .Close
registry
.Policies
.WrapCommandChainsWith<DummyCommand>(cmd => cmd.Execute());
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment