Skip to content

Instantly share code, notes, and snippets.

@GuyHarwood
Created March 4, 2013 04:36
Show Gist options
  • Save GuyHarwood/5079982 to your computer and use it in GitHub Desktop.
Save GuyHarwood/5079982 to your computer and use it in GitHub Desktop.
kernel.Bind(x => x.FromAssembliesMatching("Company.Product.Namespace.*")
.SelectAllClasses()
.BindDefaultInterface()
.Configure(b => b.InRequestScope()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment