Skip to content

Instantly share code, notes, and snippets.

@ejsmith
Forked from pwelter34/Bootstrap.cs
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ejsmith/23fe25d0b9691f88186e to your computer and use it in GitHub Desktop.
Save ejsmith/23fe25d0b9691f88186e to your computer and use it in GitHub Desktop.
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