477045704e
Added "allWarningsAsErrors": true to NuGet config files across the solution to treat all warnings as errors, increasing build strictness. Updated project cache hashes and assembly info files to reflect these changes. Refactored C# code to use explicit `this.` for field and property assignments, improving clarity. Note: some method signatures were incorrectly changed to use `this.` as a prefix, which is invalid C# syntax and must be corrected before compiling. Binary files updated due to build changes.
36 lines
1.2 KiB
C#
36 lines
1.2 KiB
C#
// <copyright file="Format3DResult.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace Emby.Naming.Video
|
|
{
|
|
/// <summary>
|
|
/// Helper object to return data from <see cref="Format3DParser"/>.
|
|
/// </summary>
|
|
public class Format3DResult
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="Format3DResult"/> class.
|
|
/// </summary>
|
|
/// <param name="is3D">A value indicating whether the parsed string contains 3D tokens.</param>
|
|
/// <param name="format3D">The 3D format. Value might be null if [is3D] is <c>false</c>.</param>
|
|
public Format3DResult(bool is3D, string? format3D)
|
|
{
|
|
this.Is3D = is3D;
|
|
this.Format3D = format3D;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a value indicating whether [is3 d].
|
|
/// </summary>
|
|
/// <value><c>true</c> if [is3 d]; otherwise, <c>false</c>.</value>
|
|
public bool Is3D { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the format3 d.
|
|
/// </summary>
|
|
/// <value>The format3 d.</value>
|
|
public string? Format3D { get; }
|
|
}
|
|
}
|