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

32 lines
933 B
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>
/// Data holder class for 3D format rule.
/// </summary>
2018-09-12 17:26:21 +00:00
public class Format3DRule
{
2020-11-10 18:23:10 +00: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 10:19:22 +00:00
public Format3DRule(string token, string? precedingToken = null)
2020-11-01 09:47:31 +00:00
{
Token = token;
2020-11-01 10:19:22 +00:00
PrecedingToken = precedingToken;
2020-11-01 09:47:31 +00:00
}
2018-09-12 17:26:21 +00:00
/// <summary>
/// Gets or sets the token.
/// </summary>
/// <value>The token.</value>
public string Token { get; set; }
2018-09-12 17:26:21 +00:00
/// <summary>
2020-11-01 10:19:22 +00:00
/// Gets or sets the preceding token.
2018-09-12 17:26:21 +00:00
/// </summary>
2020-11-01 10:19:22 +00:00
/// <value>The preceding token.</value>
public string? PrecedingToken { get; set; }
2018-09-12 17:26:21 +00:00
}
}