477045704e
Added "allWarningsAsErrors": true to NuGet config files across the solution to treat all warnings as errors, increasing build strictness. Updated project cache hashes and assembly info files to reflect these changes. Refactored C# code to use explicit `this.` for field and property assignments, improving clarity. Note: some method signatures were incorrectly changed to use `this.` as a prefix, which is invalid C# syntax and must be corrected before compiling. Binary files updated due to build changes.
46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
// <copyright file="BookFileNameParserResult.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace Emby.Naming.Book
|
|
{
|
|
using System;
|
|
|
|
/// <summary>
|
|
/// Data object used to pass metadata parsed from a book filename.
|
|
/// </summary>
|
|
public class BookFileNameParserResult
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="BookFileNameParserResult"/> class.
|
|
/// </summary>
|
|
public BookFileNameParserResult()
|
|
{
|
|
this.Name = null;
|
|
this.Index = null;
|
|
this.Year = null;
|
|
this.SeriesName = null;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets the name of the book.
|
|
/// </summary>
|
|
public string? Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the book index.
|
|
/// </summary>
|
|
public int? Index { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the publication year.
|
|
/// </summary>
|
|
public int? Year { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the series name.
|
|
/// </summary>
|
|
public string? SeriesName { get; set; }
|
|
}
|
|
}
|