Skip to content

Instantly share code, notes, and snippets.

@ejsmith

ejsmith/Bootstrap.cs

Forked from pwelter34/Bootstrap.cs
Last active Aug 29, 2015
Embed
What would you like to do?
Bootstrap.Run(config => {
config.IncludeAssemblyFor<Type>();
config.IncludeAssembly(Assembly);
config.UseAutoMapper(mapper => mapper.UseSomeOption());
config.UseAutofac();
config.LogToConsole();
};
Bootstrap.Run(config =>
config
.UseSimpleInjector()
.UseAutoMapper()
.LogToConsole();
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment