1
0
Fork 0
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:
Mark McDowall 2012-12-17 23:14:50 -08:00
parent fcefb3f762
commit 48114ee6cc

View file

@ -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)
{ {