jellyfin-server/Emby.Naming/Video/Format3DResult.cs

32 lines
1.0 KiB
C#
Raw Normal View History

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