1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 01:06:30 +00:00

Register Common providers

This commit is contained in:
Mark McDowall 2013-01-03 18:52:01 -08:00
parent 05aed27923
commit ca94a3de3d

View file

@ -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();