Refactor: standardize namespace and using directive style

Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
This commit is contained in:
2026-02-20 16:26:53 -05:00
parent 44ab9e1d6d
commit af1152b001
1436 changed files with 36615 additions and 15508 deletions
@@ -2,11 +2,11 @@
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
namespace MediaBrowser.Model.System;
using global::System;
using global::System.Collections.Generic;
/// <summary>
/// Contains informations about a libraries storage informations.
/// </summary>
+25 -27
View File
@@ -4,34 +4,32 @@
#pragma warning disable CS1591
using System;
using global::System;
namespace MediaBrowser.Model.System
{
public class LogFile
{
/// <summary>
/// Gets or sets the date created.
/// </summary>
/// <value>The date created.</value>
public DateTime DateCreated { get; set; }
namespace MediaBrowser.Model.System;
public class LogFile
{
/// <summary>
/// Gets or sets the date created.
/// </summary>
/// <value>The date created.</value>
public DateTime DateCreated { get; set; }
/// <summary>
/// Gets or sets the date modified.
/// </summary>
/// <value>The date modified.</value>
public DateTime DateModified { get; set; }
/// <summary>
/// Gets or sets the date modified.
/// </summary>
/// <value>The date modified.</value>
public DateTime DateModified { get; set; }
/// <summary>
/// Gets or sets the size.
/// </summary>
/// <value>The size.</value>
public long Size { get; set; }
/// <summary>
/// Gets or sets the size.
/// </summary>
/// <value>The size.</value>
public long Size { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public required string Name { get; set; }
}
}
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public required string Name { get; set; }
}
+43 -45
View File
@@ -5,55 +5,53 @@
#nullable disable
#pragma warning disable CS1591
using System;
using global::System;
namespace MediaBrowser.Model.System
{
public class PublicSystemInfo
{
/// <summary>
/// Gets or sets the local address.
/// </summary>
/// <value>The local address.</value>
public string LocalAddress { get; set; }
namespace MediaBrowser.Model.System;
public class PublicSystemInfo
{
/// <summary>
/// Gets or sets the local address.
/// </summary>
/// <value>The local address.</value>
public string LocalAddress { get; set; }
/// <summary>
/// Gets or sets the name of the server.
/// </summary>
/// <value>The name of the server.</value>
public string ServerName { get; set; }
/// <summary>
/// Gets or sets the name of the server.
/// </summary>
/// <value>The name of the server.</value>
public string ServerName { get; set; }
/// <summary>
/// Gets or sets the server version.
/// </summary>
/// <value>The version.</value>
public string Version { get; set; }
/// <summary>
/// Gets or sets the server version.
/// </summary>
/// <value>The version.</value>
public string Version { get; set; }
/// <summary>
/// Gets or sets the product name. This is the AssemblyProduct name.
/// </summary>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the product name. This is the AssemblyProduct name.
/// </summary>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the operating system.
/// </summary>
/// <value>The operating system.</value>
[Obsolete("This is no longer set")]
public string OperatingSystem { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the operating system.
/// </summary>
/// <value>The operating system.</value>
[Obsolete("This is no longer set")]
public string OperatingSystem { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the id.
/// </summary>
/// <value>The id.</value>
public string Id { get; set; }
/// <summary>
/// Gets or sets the id.
/// </summary>
/// <value>The id.</value>
public string Id { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the startup wizard is completed.
/// </summary>
/// <remarks>
/// Nullable for OpenAPI specification only to retain backwards compatibility in api clients.
/// </remarks>
/// <value>The startup completion status.</value>]
public bool? StartupWizardCompleted { get; set; }
}
}
/// <summary>
/// Gets or sets a value indicating whether the startup wizard is completed.
/// </summary>
/// <remarks>
/// Nullable for OpenAPI specification only to retain backwards compatibility in api clients.
/// </remarks>
/// <value>The startup completion status.</value>]
public bool? StartupWizardCompleted { get; set; }
}
+3 -3
View File
@@ -5,9 +5,9 @@
#nullable disable
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using System.ComponentModel;
using global::System;
using global::System.Collections.Generic;
using global::System.ComponentModel;
using MediaBrowser.Model.Updates;
namespace MediaBrowser.Model.System;
@@ -2,10 +2,10 @@
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
using System.Collections.Generic;
namespace MediaBrowser.Model.System;
using global::System.Collections.Generic;
/// <summary>
/// Contains informations about the systems storage.
/// </summary>