mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
32 lines
841 B
C#
32 lines
841 B
C#
namespace Emby.Naming.Video
|
|
{
|
|
/// <summary>
|
|
/// Holder structure for name and year.
|
|
/// </summary>
|
|
public readonly struct CleanDateTimeResult
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="CleanDateTimeResult"/> struct.
|
|
/// </summary>
|
|
/// <param name="name">Name of video.</param>
|
|
/// <param name="year">Year of release.</param>
|
|
public CleanDateTimeResult(string name, int? year = null)
|
|
{
|
|
Name = name;
|
|
Year = year;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the name.
|
|
/// </summary>
|
|
/// <value>The name.</value>
|
|
public string Name { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the year.
|
|
/// </summary>
|
|
/// <value>The year.</value>
|
|
public int? Year { get; }
|
|
}
|
|
}
|