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:
@@ -4,38 +4,36 @@
|
||||
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
using global::System;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Database.Implementations.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.Library
|
||||
{
|
||||
public class UserViewQuery
|
||||
{
|
||||
public UserViewQuery()
|
||||
{
|
||||
IncludeExternalContent = true;
|
||||
PresetViews = Array.Empty<CollectionType?>();
|
||||
}
|
||||
namespace MediaBrowser.Model.Library;
|
||||
public class UserViewQuery
|
||||
{
|
||||
public UserViewQuery()
|
||||
{
|
||||
IncludeExternalContent = true;
|
||||
PresetViews = Array.Empty<CollectionType?>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the user.
|
||||
/// </summary>
|
||||
/// <value>The user.</value>
|
||||
public required User User { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the user.
|
||||
/// </summary>
|
||||
/// <value>The user.</value>
|
||||
public required User User { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [include external content].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [include external content]; otherwise, <c>false</c>.</value>
|
||||
public bool IncludeExternalContent { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [include external content].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [include external content]; otherwise, <c>false</c>.</value>
|
||||
public bool IncludeExternalContent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [include hidden].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [include hidden]; otherwise, <c>false</c>.</value>
|
||||
public bool IncludeHidden { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [include hidden].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [include hidden]; otherwise, <c>false</c>.</value>
|
||||
public bool IncludeHidden { get; set; }
|
||||
|
||||
public CollectionType?[] PresetViews { get; set; }
|
||||
}
|
||||
}
|
||||
public CollectionType?[] PresetViews { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user