mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Ninject is now forced to use proper constructor.
This commit is contained in:
parent
5293d0e204
commit
add780b431
34 changed files with 88 additions and 53 deletions
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using Ninject;
|
||||
using NLog;
|
||||
using NzbDrone.Core.Model.Notification;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
@ -24,6 +25,7 @@ namespace NzbDrone.Core.Providers.Jobs
|
|||
|
||||
private ProgressNotification _notification;
|
||||
|
||||
[Inject]
|
||||
public JobProvider(IRepository repository, NotificationProvider notificationProvider, IList<IJob> jobs)
|
||||
{
|
||||
_repository = repository;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue