#pragma warning disable CS1591
#nullable enable
namespace Emby.Naming.Video
{
public readonly struct CleanDateTimeResult
{
public CleanDateTimeResult(string name, int? year)
{
Name = name;
Year = year;
}
public CleanDateTimeResult(string name)
{
Name = name;
Year = null;
}
///
/// Gets the name.
///
/// The name.
public string Name { get; }
///
/// Gets the year.
///
/// The year.
public int? Year { get; }
}
}