mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -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,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Ninject;
|
||||
using NLog;
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
@ -13,6 +14,7 @@ namespace NzbDrone.Core.Providers.Core
|
|||
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
||||
private readonly IRepository _repository;
|
||||
|
||||
[Inject]
|
||||
public ConfigProvider(IRepository repository)
|
||||
{
|
||||
_repository = repository;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue