Format3DResult.cs 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. namespace Emby.Naming.Video
  2. {
  3. /// <summary>
  4. /// Helper object to return data from <see cref="Format3DParser"/>.
  5. /// </summary>
  6. public class Format3DResult
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="Format3DResult"/> class.
  10. /// </summary>
  11. /// <param name="is3D">A value indicating whether the parsed string contains 3D tokens.</param>
  12. /// <param name="format3D">The 3D format. Value might be null if [is3D] is <c>false</c>.</param>
  13. public Format3DResult(bool is3D, string? format3D)
  14. {
  15. Is3D = is3D;
  16. Format3D = format3D;
  17. }
  18. /// <summary>
  19. /// Gets a value indicating whether [is3 d].
  20. /// </summary>
  21. /// <value><c>true</c> if [is3 d]; otherwise, <c>false</c>.</value>
  22. public bool Is3D { get; }
  23. /// <summary>
  24. /// Gets the format3 d.
  25. /// </summary>
  26. /// <value>The format3 d.</value>
  27. public string? Format3D { get; }
  28. }
  29. }