Move to Microsoft.Extensions.DependencyInjection

This PR replaces SimpleInjector with
Microsoft.Extensions.DependencyInjection.
This commit is contained in:
Bond_009
2019-02-03 17:09:12 +01:00
committed by Bond-009
parent eb4b705167
commit 81a8ebde22
9 changed files with 152 additions and 390 deletions

View File

@@ -24,12 +24,12 @@ namespace MediaBrowser.Model.System
/// Gets or sets the server version.
/// </summary>
/// <value>The version.</value>
public string Version { get; set; }
public string Version { get; set; }
/// <summary>
/// Gets or sets the operating sytem.
/// Gets or sets the operating system.
/// </summary>
/// <value>The operating sytem.</value>
/// <value>The operating system.</value>
public string OperatingSystem { get; set; }
/// <summary>

View File

@@ -1,3 +1,4 @@
using System;
using System.Runtime.InteropServices;
using MediaBrowser.Model.Updates;
@@ -136,7 +137,7 @@ namespace MediaBrowser.Model.System
/// </summary>
public SystemInfo()
{
CompletedInstallations = new InstallationInfo[] { };
CompletedInstallations = Array.Empty<InstallationInfo>();
}
}
}