Skip to content

Instantly share code, notes, and snippets.

@pwelter34
Created May 27, 2014 19:42
Show Gist options
  • Save pwelter34/7cfa57f0c33e6d78e2f0 to your computer and use it in GitHub Desktop.
Save pwelter34/7cfa57f0c33e6d78e2f0 to your computer and use it in GitHub Desktop.
Kick.Start(config => {
config
.IncludeLoadedAssemblies()
.IncludeReferencedAssemblies()
.IncludeAssemblyFor<Type>()
.IncludeAssembly(Assembly)
.IncludeName(string)
.ExcludeAssemblyFor<Type>()
.ExcludeAssembly(Assembly)
.ExcludeName(string)
.UseAutoMapper(mapper => mapper.UseSomeOption())
.UseAutofac()
.Options(o => o.LogToConsole())
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment