jellyfin/Emby.Naming/Video/Format3DRule.cs

32 lines
933 B
C#
Raw Normal View History

2018-09-12 19:26:21 +02:00
namespace Emby.Naming.Video
{
2020-11-10 19:23:10 +01:00
/// <summary>
/// Data holder class for 3D format rule.
/// </summary>
2018-09-12 19:26:21 +02:00
public class Format3DRule
{
2020-11-10 19:23:10 +01:00
/// <summary>
/// Initializes a new instance of the <see cref="Format3DRule"/> class.
/// </summary>
/// <param name="token">Token.</param>
/// <param name="precedingToken">Token present before current token.</param>
2020-11-01 11:19:22 +01:00
public Format3DRule(string token, string? precedingToken = null)
2020-11-01 10:47:31 +01:00
{
Token = token;
2020-11-01 11:19:22 +01:00
PrecedingToken = precedingToken;
2020-11-01 10:47:31 +01:00
}
2018-09-12 19:26:21 +02:00
/// <summary>
/// Gets or sets the token.
/// </summary>
/// <value>The token.</value>
public string Token { get; set; }
2018-09-12 19:26:21 +02:00
/// <summary>
2020-11-01 11:19:22 +01:00
/// Gets or sets the preceding token.
2018-09-12 19:26:21 +02:00
/// </summary>
2020-11-01 11:19:22 +01:00
/// <value>The preceding token.</value>
public string? PrecedingToken { get; set; }
2018-09-12 19:26:21 +02:00
}
}