You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/Emby.Naming/Video/CleanDateTimeResult.cs

32 lines
841 B

namespace Emby.Naming.Video
{
4 years ago
/// <summary>
/// Holder structure for name and year.
/// </summary>
5 years ago
public readonly struct CleanDateTimeResult
{
4 years ago
/// <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)
5 years ago
{
Name = name;
Year = year;
}
/// <summary>
5 years ago
/// Gets the name.
/// </summary>
/// <value>The name.</value>
5 years ago
public string Name { get; }
/// <summary>
5 years ago
/// Gets the year.
/// </summary>
/// <value>The year.</value>
5 years ago
public int? Year { get; }
}
}