1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 17:17:02 +00:00

Inject DecisionEngine

This commit is contained in:
Mark McDowall 2012-12-18 12:20:55 -08:00
parent db3731f99e
commit b73f7a02d7

View file

@ -1,5 +1,6 @@
using System.Linq; using System.Linq;
using NLog; using NLog;
using Ninject;
using NzbDrone.Core.Model; using NzbDrone.Core.Model;
using NzbDrone.Core.Providers.Core; using NzbDrone.Core.Providers.Core;
@ -10,6 +11,7 @@ public class RetentionSpecification
private readonly ConfigProvider _configProvider; private readonly ConfigProvider _configProvider;
private static readonly Logger logger = LogManager.GetCurrentClassLogger(); private static readonly Logger logger = LogManager.GetCurrentClassLogger();
[Inject]
public RetentionSpecification(ConfigProvider configProvider) public RetentionSpecification(ConfigProvider configProvider)
{ {
_configProvider = configProvider; _configProvider = configProvider;