mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Hello Autofac, Goodbye Ninject
This commit is contained in:
parent
17d9d0cc4f
commit
924d3d0c8e
139 changed files with 473 additions and 572 deletions
|
@ -1,8 +1,8 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using Ninject;
|
||||
using NzbDrone.Providers;
|
||||
using Autofac;
|
||||
|
||||
namespace NzbDrone
|
||||
{
|
||||
|
@ -38,14 +38,12 @@ namespace NzbDrone
|
|||
}
|
||||
|
||||
|
||||
CentralDispatch.Kernel.Get<Router>().Route(args);
|
||||
CentralDispatch.Container.Resolve<Router>().Route(args);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MonitoringProvider.AppDomainException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue