aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Video/Format3DResult.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Naming/Video/Format3DResult.cs')
-rw-r--r--Emby.Naming/Video/Format3DResult.cs35
1 files changed, 19 insertions, 16 deletions
diff --git a/Emby.Naming/Video/Format3DResult.cs b/Emby.Naming/Video/Format3DResult.cs
index e12494079..aac959c13 100644
--- a/Emby.Naming/Video/Format3DResult.cs
+++ b/Emby.Naming/Video/Format3DResult.cs
@@ -1,28 +1,31 @@
-using System.Collections.Generic;
-
namespace Emby.Naming.Video
{
+ /// <summary>
+ /// Helper object to return data from <see cref="Format3DParser"/>.
+ /// </summary>
public class Format3DResult
{
/// <summary>
- /// Gets or sets a value indicating whether [is3 d].
+ /// Initializes a new instance of the <see cref="Format3DResult"/> class.
/// </summary>
- /// <value><c>true</c> if [is3 d]; otherwise, <c>false</c>.</value>
- public bool Is3D { get; set; }
+ /// <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)
+ {
+ Is3D = is3D;
+ Format3D = format3D;
+ }
+
/// <summary>
- /// Gets or sets the format3 d.
+ /// Gets a value indicating whether [is3 d].
/// </summary>
- /// <value>The format3 d.</value>
- public string Format3D { get; set; }
+ /// <value><c>true</c> if [is3 d]; otherwise, <c>false</c>.</value>
+ public bool Is3D { get; }
+
/// <summary>
- /// Gets or sets the tokens.
+ /// Gets the format3 d.
/// </summary>
- /// <value>The tokens.</value>
- public List<string> Tokens { get; set; }
-
- public Format3DResult()
- {
- Tokens = new List<string>();
- }
+ /// <value>The format3 d.</value>
+ public string? Format3D { get; }
}
}