mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-13 12:33:01 +03:00
Enable TreatWarningsAsErrors for MediaBrowser.Model
This commit is contained in:
@@ -30,6 +30,14 @@ namespace MediaBrowser.Model.System
|
||||
/// </summary>
|
||||
public class SystemInfo : PublicSystemInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="SystemInfo" /> class.
|
||||
/// </summary>
|
||||
public SystemInfo()
|
||||
{
|
||||
CompletedInstallations = Array.Empty<InstallationInfo>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the display name of the operating system.
|
||||
/// </summary>
|
||||
@@ -37,7 +45,7 @@ namespace MediaBrowser.Model.System
|
||||
public string OperatingSystemDisplayName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Get or sets the package name.
|
||||
/// Gets or sets the package name.
|
||||
/// </summary>
|
||||
/// <value>The value of the '-package' command line argument.</value>
|
||||
public string PackageName { get; set; }
|
||||
@@ -127,13 +135,5 @@ namespace MediaBrowser.Model.System
|
||||
public FFmpegLocation EncoderLocation { get; set; }
|
||||
|
||||
public Architecture SystemArchitecture { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="SystemInfo" /> class.
|
||||
/// </summary>
|
||||
public SystemInfo()
|
||||
{
|
||||
CompletedInstallations = Array.Empty<InstallationInfo>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace MediaBrowser.Model.System
|
||||
/// Gets the MAC address of the device.
|
||||
/// </summary>
|
||||
/// <value>The MAC address.</value>
|
||||
public string? MacAddress { get; set; }
|
||||
public string? MacAddress { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the wake-on-LAN port.
|
||||
|
||||
Reference in New Issue
Block a user