mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 01:27:00 +00:00
UpdateProvider for Update is now injected
This commit is contained in:
parent
fcefb3f762
commit
48114ee6cc
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NLog;
|
using NLog;
|
||||||
|
using Ninject;
|
||||||
using NzbDrone.Common;
|
using NzbDrone.Common;
|
||||||
|
|
||||||
namespace NzbDrone.Update.Providers
|
namespace NzbDrone.Update.Providers
|
||||||
|
@ -16,6 +17,7 @@ public class UpdateProvider
|
||||||
private readonly IISProvider _iisProvider;
|
private readonly IISProvider _iisProvider;
|
||||||
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
|
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
|
||||||
|
|
||||||
|
[Inject]
|
||||||
public UpdateProvider(DiskProvider diskProvider, ServiceProvider serviceProvider,
|
public UpdateProvider(DiskProvider diskProvider, ServiceProvider serviceProvider,
|
||||||
ProcessProvider processProvider, EnvironmentProvider environmentProvider, IISProvider iisProvider)
|
ProcessProvider processProvider, EnvironmentProvider environmentProvider, IISProvider iisProvider)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue