Hello Autofac, Goodbye Ninject

This commit is contained in:
Mark McDowall 2013-01-02 17:09:13 -08:00
commit 924d3d0c8e
139 changed files with 473 additions and 572 deletions

View file

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