diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-01-08 17:29:34 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-01-08 17:35:56 +0100 |
| commit | f520ddc9662ec65538374d40f516c5fe6c67bb16 (patch) | |
| tree | 84f754bd5d761a00004c2661047f01b9543f5dbe /Emby.Server.Implementations/EnvironmentInfo | |
| parent | c5c44744fc72cdbd3d784f1b24ca982f457c6e2a (diff) | |
Remove useless properties from IEnvironmentInfo
Diffstat (limited to 'Emby.Server.Implementations/EnvironmentInfo')
| -rw-r--r-- | Emby.Server.Implementations/EnvironmentInfo/EnvironmentInfo.cs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Emby.Server.Implementations/EnvironmentInfo/EnvironmentInfo.cs b/Emby.Server.Implementations/EnvironmentInfo/EnvironmentInfo.cs index 03e10e7ea3..655867577b 100644 --- a/Emby.Server.Implementations/EnvironmentInfo/EnvironmentInfo.cs +++ b/Emby.Server.Implementations/EnvironmentInfo/EnvironmentInfo.cs @@ -1,11 +1,9 @@ using System; -using System.IO; using MediaBrowser.Model.System; using System.Runtime.InteropServices; namespace Emby.Server.Implementations.EnvironmentInfo { - // TODO: Rework @bond public class EnvironmentInfo : IEnvironmentInfo { public EnvironmentInfo(MediaBrowser.Model.System.OperatingSystem operatingSystem) @@ -39,29 +37,6 @@ namespace Emby.Server.Implementations.EnvironmentInfo } } - public char PathSeparator - { - get - { - return Path.PathSeparator; - } - } - public Architecture SystemArchitecture { get { return RuntimeInformation.OSArchitecture; } } - - public string GetEnvironmentVariable(string name) - { - return Environment.GetEnvironmentVariable(name); - } - - public string StackTrace - { - get { return Environment.StackTrace; } - } - - public void SetProcessEnvironmentVariable(string name, string value) - { - Environment.SetEnvironmentVariable(name, value); - } } } |
