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:
@@ -2,18 +2,18 @@
|
||||
// Copyright (c) PlaceholderCompany. All rights reserved.
|
||||
// </copyright>
|
||||
|
||||
using System;
|
||||
using System.Globalization;
|
||||
namespace MediaBrowser.Model.Dlna;
|
||||
|
||||
using global::System;
|
||||
using global::System.Globalization;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Extensions;
|
||||
using MediaBrowser.Model.MediaInfo;
|
||||
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
/// <summary>
|
||||
/// The condition processor.
|
||||
/// </summary>
|
||||
public static class ConditionProcessor
|
||||
/// <summary>
|
||||
/// The condition processor.
|
||||
/// </summary>
|
||||
public static class ConditionProcessor
|
||||
{
|
||||
/// <summary>
|
||||
/// Checks if a video condition is satisfied.
|
||||
@@ -379,11 +379,10 @@ namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
ProfileConditionType.Equals => currentValue.Value == expected,
|
||||
ProfileConditionType.NotEquals => currentValue.Value != expected,
|
||||
_ => throw new InvalidOperationException("Unexpected ProfileConditionType: " + condition.Condition)
|
||||
_ => throw new InvalidOperationException("Unexpected ProfileConditionType: " + condition.Condition),
|
||||
};
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user