More autofac

This commit is contained in:
Mark McDowall
2013-01-02 19:04:42 -08:00
parent 924d3d0c8e
commit c4e886a8f8
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -29,6 +29,7 @@ namespace NzbDrone
private static void BindKernel(ContainerBuilder builder)
{
builder.RegisterAssemblyTypes(typeof(DiskProvider).Assembly).SingleInstance();
builder.RegisterType<Router>();
builder.RegisterType<ApplicationServer>().SingleInstance();
builder.RegisterType<ConfigFileProvider>().SingleInstance();