jellyfin/Emby.Naming/Video/Format3DResult.cs

32 lines
1.0 KiB
C#
Raw Normal View History

2018-09-12 13:26:21 -04:00
namespace Emby.Naming.Video
{
2020-11-10 13:23:10 -05:00
/// <summary>
/// Helper object to return data from <see cref="Format3DParser"/>.
/// </summary>
2018-09-12 13:26:21 -04:00
public class Format3DResult
{
2020-11-10 13:23:10 -05:00
/// <summary>
/// Initializes a new instance of the <see cref="Format3DResult"/> class.
/// </summary>
2021-05-23 18:30:41 -04:00
/// <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)
2019-05-10 14:37:42 -04:00
{
2021-05-23 18:30:41 -04:00
Is3D = is3D;
Format3D = format3D;
2019-05-10 14:37:42 -04:00
}
2018-09-12 13:26:21 -04:00
/// <summary>
2021-05-23 18:30:41 -04:00
/// Gets a value indicating whether [is3 d].
2018-09-12 13:26:21 -04:00
/// </summary>
/// <value><c>true</c> if [is3 d]; otherwise, <c>false</c>.</value>
2021-05-23 18:30:41 -04:00
public bool Is3D { get; }
2019-05-10 14:37:42 -04:00
2018-09-12 13:26:21 -04:00
/// <summary>
2021-05-23 18:30:41 -04:00
/// Gets the format3 d.
2018-09-12 13:26:21 -04:00
/// </summary>
/// <value>The format3 d.</value>
2021-05-23 18:30:41 -04:00
public string? Format3D { get; }
2018-09-12 13:26:21 -04:00
}
}