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