Convert properties in ApplicationHost to private readonly fields, where possible

This commit is contained in:
Mark Monteiro
2020-04-04 23:18:11 -04:00
parent 241d0ae65c
commit 735d6c8ad5
3 changed files with 27 additions and 45 deletions

View File

@@ -42,7 +42,7 @@ namespace Emby.Server.Implementations.Data
private readonly IServerConfigurationManager _config;
private readonly IServerApplicationHost _appHost;
private readonly ILocalizationManager _localization;
// TODO: Remove this dependency
// TODO: Remove this dependency. GetImageCacheTag() is the only method used and it can be converted to a static helper method
private readonly IImageProcessor _imageProcessor;
private readonly TypeMapper _typeMapper;