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:
@@ -5,49 +5,47 @@
|
||||
#nullable disable
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using global::System;
|
||||
using global::System.IO;
|
||||
|
||||
namespace MediaBrowser.Model.Serialization
|
||||
{
|
||||
public interface IXmlSerializer
|
||||
{
|
||||
/// <summary>
|
||||
/// Deserializes from stream.
|
||||
/// </summary>
|
||||
/// <param name="type">The type.</param>
|
||||
/// <param name="stream">The stream.</param>
|
||||
/// <returns>System.Object.</returns>
|
||||
object DeserializeFromStream(Type type, Stream stream);
|
||||
namespace MediaBrowser.Model.Serialization;
|
||||
public interface IXmlSerializer
|
||||
{
|
||||
/// <summary>
|
||||
/// Deserializes from stream.
|
||||
/// </summary>
|
||||
/// <param name="type">The type.</param>
|
||||
/// <param name="stream">The stream.</param>
|
||||
/// <returns>System.Object.</returns>
|
||||
object DeserializeFromStream(Type type, Stream stream);
|
||||
|
||||
/// <summary>
|
||||
/// Serializes to stream.
|
||||
/// </summary>
|
||||
/// <param name="obj">The obj.</param>
|
||||
/// <param name="stream">The stream.</param>
|
||||
void SerializeToStream(object obj, Stream stream);
|
||||
/// <summary>
|
||||
/// Serializes to stream.
|
||||
/// </summary>
|
||||
/// <param name="obj">The obj.</param>
|
||||
/// <param name="stream">The stream.</param>
|
||||
void SerializeToStream(object obj, Stream stream);
|
||||
|
||||
/// <summary>
|
||||
/// Serializes to file.
|
||||
/// </summary>
|
||||
/// <param name="obj">The obj.</param>
|
||||
/// <param name="file">The file.</param>
|
||||
void SerializeToFile(object obj, string file);
|
||||
/// <summary>
|
||||
/// Serializes to file.
|
||||
/// </summary>
|
||||
/// <param name="obj">The obj.</param>
|
||||
/// <param name="file">The file.</param>
|
||||
void SerializeToFile(object obj, string file);
|
||||
|
||||
/// <summary>
|
||||
/// Deserializes from file.
|
||||
/// </summary>
|
||||
/// <param name="type">The type.</param>
|
||||
/// <param name="file">The file.</param>
|
||||
/// <returns>System.Object.</returns>
|
||||
object DeserializeFromFile(Type type, string file);
|
||||
/// <summary>
|
||||
/// Deserializes from file.
|
||||
/// </summary>
|
||||
/// <param name="type">The type.</param>
|
||||
/// <param name="file">The file.</param>
|
||||
/// <returns>System.Object.</returns>
|
||||
object DeserializeFromFile(Type type, string file);
|
||||
|
||||
/// <summary>
|
||||
/// Deserializes from bytes.
|
||||
/// </summary>
|
||||
/// <param name="type">The type.</param>
|
||||
/// <param name="buffer">The buffer.</param>
|
||||
/// <returns>System.Object.</returns>
|
||||
object DeserializeFromBytes(Type type, byte[] buffer);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Deserializes from bytes.
|
||||
/// </summary>
|
||||
/// <param name="type">The type.</param>
|
||||
/// <param name="buffer">The buffer.</param>
|
||||
/// <returns>System.Object.</returns>
|
||||
object DeserializeFromBytes(Type type, byte[] buffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user