Register Common providers

pull/6/head
Mark McDowall 12 years ago
parent 05aed27923
commit ca94a3de3d

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

Loading…
Cancel
Save