Inject constructors

This commit is contained in:
Mark McDowall 2012-12-18 11:40:50 -08:00
commit db3731f99e
6 changed files with 12 additions and 0 deletions

View file

@ -1,5 +1,6 @@
using System;
using System.Linq;
using Ninject;
using NzbDrone.Core.Instrumentation;
using NzbDrone.Core.Model.Notification;
@ -9,6 +10,7 @@ namespace NzbDrone.Core.Jobs
{
private readonly LogProvider _logProvider;
[Inject]
public TrimLogsJob(LogProvider logProvider)
{
_logProvider = logProvider;