af1152b001
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.
25 lines
896 B
C#
25 lines
896 B
C#
// <copyright file="GenericBodyArrayModel.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace Jellyfin.Extensions.Tests.Json.Models
|
|
{
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.Text.Json.Serialization;
|
|
using Jellyfin.Extensions.Json.Converters;
|
|
|
|
/// <summary>
|
|
/// The generic body model.
|
|
/// </summary>
|
|
/// <typeparam name="T">The value type.</typeparam>
|
|
public sealed class GenericBodyArrayModel<T>
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the value.
|
|
/// </summary>
|
|
[SuppressMessage("Microsoft.Performance", "CA1819:Properties should not return arrays", MessageId = "Value", Justification = "Imported from ServiceStack")]
|
|
[JsonConverter(typeof(JsonCommaDelimitedCollectionConverterFactory))]
|
|
public T[] Value { get; set; } = default!;
|
|
}
|
|
}
|