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
|
@ -1,5 +1,6 @@
|
|||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using Ninject;
|
||||
using NzbDrone.Core.Model.Notification;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
||||
|
@ -10,6 +11,7 @@ namespace NzbDrone.Core.Providers.Jobs
|
|||
private readonly SeriesProvider _seriesProvider;
|
||||
private readonly EpisodeProvider _episodeProvider;
|
||||
|
||||
[Inject]
|
||||
public UpdateInfoJob(SeriesProvider seriesProvider, EpisodeProvider episodeProvider)
|
||||
{
|
||||
_seriesProvider = seriesProvider;
|
||||
|
@ -18,7 +20,7 @@ namespace NzbDrone.Core.Providers.Jobs
|
|||
|
||||
public UpdateInfoJob()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public string Name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue