Skip to content

Commit

Permalink
Merge pull request #71 from mattburton/autofac-updates
Browse files Browse the repository at this point in the history
Autofac updates
  • Loading branch information
CoreyKaylor committed May 24, 2013
2 parents 2ac47fa + a374484 commit 11738d6
Show file tree
Hide file tree
Showing 3 changed files with 462 additions and 246 deletions.
4 changes: 2 additions & 2 deletions Rhino.ServiceBus.Autofac/AutofacBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public void RegisterDefaultServices(IEnumerable<Assembly> assemblies)
foreach (var module in config.MessageModules)
{
builder.RegisterType(module)
.Named<string>(module.FullName)
.As(typeof(IMessageModule))
.Named<IMessageModule>(module.FullName)
.As<IMessageModule>()
.SingleInstance();
}
builder.Update(container);
Expand Down
Loading

0 comments on commit 11738d6

Please sign in to comment.