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,11 +2,11 @@
|
||||
// Copyright (c) PlaceholderCompany. All rights reserved.
|
||||
// </copyright>
|
||||
|
||||
using System.ComponentModel;
|
||||
using System.Net.Mime;
|
||||
|
||||
namespace MediaBrowser.Model.Drawing;
|
||||
|
||||
using global::System.ComponentModel;
|
||||
using global::System.Net.Mime;
|
||||
|
||||
/// <summary>
|
||||
/// Extension class for the <see cref="ImageFormat" /> enum.
|
||||
/// </summary>
|
||||
@@ -27,7 +27,7 @@ public static class ImageFormatExtensions
|
||||
ImageFormat.Png => MediaTypeNames.Image.Png,
|
||||
ImageFormat.Webp => MediaTypeNames.Image.Webp,
|
||||
ImageFormat.Svg => MediaTypeNames.Image.Svg,
|
||||
_ => throw new InvalidEnumArgumentException(nameof(format), (int)format, typeof(ImageFormat))
|
||||
_ => throw new InvalidEnumArgumentException(nameof(format), (int)format, typeof(ImageFormat)),
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
@@ -45,6 +45,6 @@ public static class ImageFormatExtensions
|
||||
ImageFormat.Png => ".png",
|
||||
ImageFormat.Webp => ".webp",
|
||||
ImageFormat.Svg => ".svg",
|
||||
_ => throw new InvalidEnumArgumentException(nameof(format), (int)format, typeof(ImageFormat))
|
||||
_ => throw new InvalidEnumArgumentException(nameof(format), (int)format, typeof(ImageFormat)),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user