Register Common providers

This commit is contained in:
Mark McDowall 2013-01-03 18:52:01 -08:00
parent 05aed27923
commit ca94a3de3d
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ namespace NzbDrone.Update
Console.WriteLine("Starting NzbDrone Update Client");
var builder = new ContainerBuilder();
builder.RegisterAssemblyTypes(typeof(UpdateProvider).Assembly).SingleInstance();
builder.RegisterAssemblyTypes(typeof(RestProvider).Assembly).SingleInstance();
_container = builder.Build();
InitLoggers();