mirror of https://github.com/Sonarr/Sonarr
Inject DecisionEngine
This commit is contained in:
parent
db3731f99e
commit
b73f7a02d7
|
@ -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 @@ namespace NzbDrone.Core.Providers.DecisionEngine
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue