diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-11 03:13:11 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-11 03:13:11 -0500 |
| commit | 918b9ca86d1bdb9758430e9164f5fba72de1d9a7 (patch) | |
| tree | 1f9ec909d18593a8f69a6dbbf7af580ad25005a5 /Emby.Common.Implementations/BaseApplicationHost.cs | |
| parent | f8dd02bb66d2f243515d295b4d256a4c74f433ca (diff) | |
update core projects
Diffstat (limited to 'Emby.Common.Implementations/BaseApplicationHost.cs')
| -rw-r--r-- | Emby.Common.Implementations/BaseApplicationHost.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Emby.Common.Implementations/BaseApplicationHost.cs b/Emby.Common.Implementations/BaseApplicationHost.cs index 0cf11e825..9571ea388 100644 --- a/Emby.Common.Implementations/BaseApplicationHost.cs +++ b/Emby.Common.Implementations/BaseApplicationHost.cs @@ -172,7 +172,7 @@ namespace Emby.Common.Implementations protected ICryptoProvider CryptographyProvider = new CryptographyProvider(); - protected IEnvironmentInfo EnvironmentInfo = new Emby.Common.Implementations.EnvironmentInfo.EnvironmentInfo(); + protected IEnvironmentInfo EnvironmentInfo { get; private set; } private DeviceId _deviceId; public string SystemId @@ -205,8 +205,11 @@ namespace Emby.Common.Implementations /// </summary> protected BaseApplicationHost(TApplicationPathsType applicationPaths, ILogManager logManager, - IFileSystem fileSystem) + IFileSystem fileSystem, + IEnvironmentInfo environmentInfo) { + EnvironmentInfo = environmentInfo; + // hack alert, until common can target .net core BaseExtensions.CryptographyProvider = CryptographyProvider; |
