jellyfin/Emby.Naming/TV/SeasonPathParserResult.cs

27 lines
853 B
C#
Raw Normal View History

2018-09-12 17:26:21 +00:00
namespace Emby.Naming.TV
{
2020-11-10 18:23:10 +00:00
/// <summary>
/// Data object to pass result of <see cref="SeasonPathParser"/>.
/// </summary>
2018-09-12 17:26:21 +00:00
public class SeasonPathParserResult
{
/// <summary>
2020-03-25 20:31:03 +00:00
/// Gets or sets the season number.
2018-09-12 17:26:21 +00:00
/// </summary>
/// <value>The season number.</value>
public int? SeasonNumber { get; set; }
2019-05-10 18:37:42 +00:00
2018-09-12 17:26:21 +00:00
/// <summary>
2020-03-25 20:31:03 +00:00
/// Gets or sets a value indicating whether this <see cref="SeasonPathParserResult" /> is success.
2018-09-12 17:26:21 +00:00
/// </summary>
/// <value><c>true</c> if success; otherwise, <c>false</c>.</value>
public bool Success { get; set; }
2019-05-10 18:37:42 +00:00
2020-11-10 18:23:10 +00:00
/// <summary>
/// Gets or sets a value indicating whether "Is season folder".
/// Seems redundant and barely used.
/// </summary>
2018-09-12 17:26:21 +00:00
public bool IsSeasonFolder { get; set; }
}
}