Composition fixes

This commit is contained in:
Stephan
2018-11-27 13:46:43 +01:00
parent 5b111f9629
commit c23c7749b4
54 changed files with 158 additions and 150 deletions

View File

@@ -60,7 +60,7 @@ namespace Umbraco.Web.Mvc
/// <summary>
/// Gets or sets the profiling logger.
/// </summary>
public ProfilingLogger ProfilingLogger { get; }
public IProfilingLogger ProfilingLogger { get; }
/// <summary>
/// Gets the membership helper.
@@ -95,12 +95,12 @@ namespace Umbraco.Web.Mvc
Current.Container.GetInstance<ServiceContext>(),
Current.Container.GetInstance<CacheHelper>(),
Current.Container.GetInstance<ILogger>(),
Current.Container.GetInstance<ProfilingLogger>()
Current.Container.GetInstance<IProfilingLogger>()
)
{
}
protected PluginController(UmbracoContext umbracoContext, IUmbracoDatabaseFactory databaseFactory, ServiceContext services, CacheHelper applicationCache, ILogger logger, ProfilingLogger profilingLogger)
protected PluginController(UmbracoContext umbracoContext, IUmbracoDatabaseFactory databaseFactory, ServiceContext services, CacheHelper applicationCache, ILogger logger, IProfilingLogger profilingLogger)
{
UmbracoContext = umbracoContext;
DatabaseFactory = databaseFactory;