Implements directory browser dialog, part 1: file system treeview

This commit is contained in:
BinaryAlley committed 2024-09-15 13:07:53 +03:00
1 parent 4a53348013
commit 4e4ecbbfca
318 files changed
+6012 -1184

No files matched your search

@@ -1,63 +0,0 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.Models.Common;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Books;
/// <summary>
/// Represents written content metadata.
/// </summary>
public class WrittenContentMetadataDto
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets the title of the media item.
/// </summary>
public string? Title { get; set; }
/// <summary>
/// Gets the original title of the media item.
/// </summary>
public string? OriginalTitle { get; set; }
/// <summary>
/// Gets the optional description of the media item.
/// </summary>
public string? Description { get; set; }
/// <summary>
/// Gets the release information of the media item.
/// </summary>
public ReleaseInfoDto? ReleaseInfo { get; set; }
/// <summary>
/// Gets the list of genres associated with the media item.
/// </summary>
public List<GenreDto>? Genres { get; set; }
/// <summary>
/// Gets the list of tags associated with the media item.
/// </summary>
public List<TagDto>? Tags { get; set; }
/// <summary>
/// Gets the optional language of the media item.
/// </summary>
public LanguageInfoDto? Language { get; set; }
/// <summary>
/// Gets the optional original language of the media item.
/// </summary>
public LanguageInfoDto? OriginalLanguage { get; set; }
/// <summary>
/// Gets the publisher of the written content.
/// </summary>
public string? Publisher { get; set; }
/// <summary>
/// Gets the number of pages in the written content.
/// </summary>
public int? PageCount { get; set; }
#endregion
}
@@ -1,9 +1,14 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Common;
/// <summary>
/// Represents a request to get genre information.
/// </summary>
public class GenreDto
[DebuggerDisplay("{Name}")]
public class GenreModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
@@ -1,9 +1,14 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Common;
/// <summary>
/// Represents a request to get language information.
/// </summary>
public class LanguageInfoDto
[DebuggerDisplay("{LanguageName}")]
public class LanguageInfoModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
@@ -0,0 +1,54 @@
#region ========================================================================= USING =====================================================================================
using System.Collections.Generic;
using System.Diagnostics;
using System.Text.Json;
using System.Text.Json.Serialization;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Common;
/// <summary>
/// Model that follows the RFC 7807 standard for problem details in HTTP APIs.
/// </summary>
[DebuggerDisplay("{Title} ({Status})")]
public class ProblemDetailsModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets or sets the URI reference that identifies the problem type.
/// </summary>
[JsonPropertyName("type")]
public string? Type { get; set; }
/// <summary>
/// Gets or sets a short, human-readable summary of the problem type.
/// </summary>
[JsonPropertyName("title")]
public string? Title { get; set; }
/// <summary>
/// Gets or sets the HTTP status code generated by the server for this occurrence of the problem.
/// </summary>
[JsonPropertyName("status")]
public int? Status { get; set; }
/// <summary>
/// Gets or sets a detailed explanation specific to this occurrence of the problem.
/// </summary>
[JsonPropertyName("detail")]
public string? Detail { get; set; }
/// <summary>
/// Gets or sets a URI reference that identifies the specific occurrence of the problem.
/// </summary>
[JsonPropertyName("instance")]
public string? Instance { get; set; }
/// <summary>
/// Gets or sets additional extension data that may be included with the problem details.
/// This allows for including extra, non-standard fields in the problem details.
/// </summary>
[JsonExtensionData]
public IDictionary<string, JsonElement>? Extensions { get; set; }
#endregion
}
@@ -1,9 +1,14 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Common;
/// <summary>
/// Represents a rating.
/// </summary>
public abstract class RatingDto
[DebuggerDisplay("{Value}/{MaxValue}")]
public abstract class RatingModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
@@ -1,9 +1,15 @@
#region ========================================================================= USING =====================================================================================
using System;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Common;
/// <summary>
/// Represents a request to get release information.
/// </summary>
public class ReleaseInfoDto
[DebuggerDisplay("{OriginalReleaseDate}")]
public class ReleaseInfoModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
@@ -1,9 +1,14 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Common;
/// <summary>
/// Represents a request to get tag information.
/// </summary>
public class TagDto
[DebuggerDisplay("{Name}")]
public class TagModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
@@ -1,8 +1,13 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Configuration;
/// <summary>
/// Model for deserializing server configuration settings.
/// </summary>
[DebuggerDisplay("{SectionName}")]
public class ServerConfigurationModel
{
#region ================================================================== FIELD MEMBERS ================================================================================
@@ -10,6 +15,11 @@ public class ServerConfigurationModel
#endregion
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets or sets the remote API server path.
/// </summary>
public required char ApiVersion { get; init; }
/// <summary>
/// Gets or sets the remote API server path.
/// </summary>
@@ -1,19 +0,0 @@
namespace Lumina.Presentation.Web.Common.Models.Contributors;
/// <summary>
/// Represents a media contributor.
/// </summary>
public class MediaContributorDto
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets the name of the contributor.
/// </summary>
public MediaContributorNameDto? Name { get; set; }
/// <summary>
/// Gets the role of the contributor.
/// </summary>
public MediaContributorRoleDto? Role { get; set; }
#endregion
}
@@ -0,0 +1,24 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.FileManagement;
/// <summary>
/// Represents a model for storing binary data (blob).
/// </summary>
[DebuggerDisplay("{ContentType} (Data.Length)")]
public class BlobDataModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets or sets the binary data as a byte array.
/// </summary>
public byte[] Data { get; set; } = null!;
/// <summary>
/// Gets or sets the content type (MIME type) of the blob data, such as "image/png" for an image or "application/pdf" for a PDF document.
/// </summary>
public string ContentType { get; set; } = null!;
#endregion
}
@@ -0,0 +1,40 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.Enums.FileSystem;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.FileManagement;
/// <summary>
/// Model for files and directories displayed in custom directory/file browser dialogs.
/// </summary>
[DebuggerDisplay("{Path}")]
public class FileSystemItemModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets or sets the full path to the file system item.
/// </summary>
public string? Path { get; set; }
/// <summary>
/// Gets the type of the file system element.
/// </summary>
public FileSystemItemType ItemType { get; set; }
/// <summary>
/// Gets or sets the file extension of the item, if applicable (e.g., ".txt", ".jpg").
/// </summary>
public string? Extension { get; set; }
/// <summary>
/// Gets or sets the source path or identifier for the icon representing the file system item.
/// </summary>
public string? IconSource { get; set; }
/// <summary>
/// Gets or sets a friendly name for the file system item, which may be a user-friendly display name.
/// </summary>
public string? FriendlyName { get; set; }
#endregion
}
@@ -0,0 +1,46 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.Enums.FileSystem;
using System.Collections.Generic;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.FileManagement;
/// <summary>
/// Generic file system node.
/// </summary>
[DebuggerDisplay("{Path}")]
public class FileSystemTreeNodeModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets or sets the full path of the file or directory.
/// </summary>
public string Path { get; set; } = null!;
/// <summary>
/// Gets or sets the name of the file or directory.
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// Gets or sets the type of the item, indicating whether it is a file, directory, or drive.
/// </summary>
public FileSystemItemType ItemType { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the node is expanded.
/// </summary>
public bool IsExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the child nodes have been loaded.
/// </summary>
public bool ChildrenLoaded { get; set; }
/// <summary>
/// Gets or sets the list of child nodes.
/// </summary>
public List<FileSystemTreeNodeModel> Children { get; set; } = [];
#endregion
}
@@ -0,0 +1,20 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.Enums.FileSystem;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.FileManagement;
/// <summary>
/// Model containing the file system platform type.
/// </summary>
[DebuggerDisplay("{PlatformType}")]
public class FileSystemTypeModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets or sets the file system platform type.
/// </summary>
public PlatformType PlatformType { get; set; }
#endregion
}
@@ -1,14 +1,14 @@
namespace Lumina.Presentation.Web.Common.Models.Books;
namespace Lumina.Presentation.Web.Common.Models.FileManagement;
/// <summary>
/// Represents a request to get book series information.
/// Represents a response containing a file system path.
/// </summary>
public class BookSeriesDto
public class PathSegmentModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets the title of the book series.
/// Gets or sets the returned path.
/// </summary>
public string? Title { get; set; }
public string Path { get; set; } = null!;
#endregion
}
@@ -0,0 +1,14 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.FileManagement;
/// <summary>
/// A model representing a file system path separator.
/// </summary>
/// <param name="Separator">The system's path separator.</param>
[DebuggerDisplay("{Separator}")]
public record PathSeparatorModel(
string Separator
);
@@ -0,0 +1,37 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.Enums.Library;
using System;
using System.Collections.Generic;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Libraries;
/// <summary>
/// Represents a library element.
/// </summary>
[DebuggerDisplay("{Title}")]
public class LibraryModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets or sets the unique identifier of the library.
/// </summary>
public Guid? Id { get; set; }
/// <summary>
/// Gets or sets the title of the library.
/// </summary>
public string? Title { get; set; }
/// <summary>
/// Gets or sets the type of the library.
/// </summary>
public LibraryType? LibraryType { get; set; }
/// <summary>
/// Gets or sets the collection of directories that contain the library files.
/// </summary>
public List<string> Paths { get; set; } = [];
#endregion
}
@@ -0,0 +1,25 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.MediaContributors;
/// <summary>
/// Represents a media contributor.
/// </summary>
[DebuggerDisplay("{Name}")]
public class MediaContributorModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets the name of the contributor.
/// </summary>
public MediaContributorNameModel? Name { get; set; }
/// <summary>
/// Gets the role of the contributor.
/// </summary>
public MediaContributorRoleModel? Role { get; set; }
#endregion
}
@@ -1,9 +1,14 @@
namespace Lumina.Presentation.Web.Common.Models.Contributors;
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.MediaContributors;
/// <summary>
/// Represents a media contributor name.
/// </summary>
public class MediaContributorNameDto
[DebuggerDisplay("{DisplayName}")]
public class MediaContributorNameModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
@@ -1,9 +1,14 @@
namespace Lumina.Presentation.Web.Common.Models.Contributors;
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.MediaContributors;
/// <summary>
/// Represents a media contributor role.
/// </summary>
public class MediaContributorRoleDto
[DebuggerDisplay("{Name}")]
public class MediaContributorRoleModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
@@ -1,9 +1,14 @@
namespace Lumina.Presentation.Web.Common.Models.UI;
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.UI;
/// <summary>
/// Represents an item in a combobox.
/// </summary>
/// <typeparam name="TValue">The type used for the <see cref="Value"/> property of the item.</typeparam>
[DebuggerDisplay("{Text}")]
public class ComboboxItem<TValue>
{
#region ==================================================================== PROPERTIES =================================================================================
@@ -16,5 +21,10 @@ public class ComboboxItem<TValue>
/// Gets or sets the value of the item, that is used by the application.
/// </summary>
public TValue? Value { get; set; }
/// <summary>
/// Gets or sets the property indicating whether this element can be selected or not.
/// </summary>
public bool IsEnabled { get; set; } = true;
#endregion
}
@@ -0,0 +1,208 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.Models.Common;
using System;
using System.Collections.Generic;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.WrittenContentLibrary.BookLibrary;
/// <summary>
/// Represents a book.
/// </summary>
[DebuggerDisplay("{Title}")]
public class BookModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets the Id of the media item.
/// </summary>
public Guid Id { get; init; }
/// <summary>
/// Gets the title of the media item.
/// </summary>
public string Title { get; init; } = null!;
/// <summary>
/// Gets the original title of the media item.
/// </summary>
public string? OriginalTitle { get; init; }
/// <summary>
/// Gets the optional description of the media item.
/// </summary>
public string? Description { get; init; }
/// <summary>
/// Gets the optional original release date of the media item.
/// </summary>
public DateOnly? OriginalReleaseDate { get; init; }
/// <summary>
/// Gets the optional original release year of the media item.
/// This is useful when only the year of original release is known.
/// </summary>
public int? OriginalReleaseYear { get; init; }
/// <summary>
/// Gets the optional re-release or reissue date of the media item.
/// </summary>
public DateOnly? ReReleaseDate { get; init; }
/// <summary>
/// Gets the optional re-release or reissue year of the media item.
/// </summary>
public int? ReReleaseYear { get; init; }
/// <summary>
/// Gets the optional country or region of release.
/// </summary>
public string? ReleaseCountry { get; init; }
/// <summary>
/// Gets the optional release version or edition. (e.g. "Original", "Director's Cut", "2.0")
/// </summary>
public string? ReleaseVersion { get; init; }
/// <summary>
/// Gets the ISO 639-1 two-letter language code.
/// </summary>
public string? LanguageCode { get; init; }
/// <summary>
/// Gets the full name of the language in English.
/// </summary>
public string? LanguageName { get; init; }
/// <summary>
/// Gets an optional native name of the language.
/// </summary>
public string? LanguageNativeName { get; init; }
/// <summary>
/// Gets the optional ISO 639-1 two-letter original language code.
/// </summary>
public string? OriginalLanguageCode { get; init; }
/// <summary>
/// Gets the optional full name of the original language in English.
/// </summary>
public string? OriginalLanguageName { get; init; }
/// <summary>
/// Gets an optional native name of the original language.
/// </summary>
public string? OriginalLanguageNativeName { get; init; }
/// <summary>
/// Gets the list of tags associated with the media item.
/// </summary>
public HashSet<TagModel> Tags { get; set; } = [];
/// <summary>
/// Gets the list of genres associated with the media item.
/// </summary>
public HashSet<GenreModel> Genres { get; set; } = [];
/// <summary>
/// Gets the publisher of the written content.
/// </summary>
public string? Publisher { get; init; }
/// <summary>
/// Gets the number of pages in the written content.
/// </summary>
public int? PageCount { get; init; }
/// <summary>
/// Gets the format of the book (e.g., Hardcover, Paperback), if applicable.
/// </summary>
public string Format { get; init; } = null!;
/// <summary>
/// Gets the edition of the book, if applicable.
/// </summary>
public string? Edition { get; init; }
/// <summary>
/// Gets the volume or book number in the series, if applicable.
/// </summary>
public int? VolumeNumber { get; init; }
/// <summary>
/// Gets the series id, if the book is part of a series.
/// </summary>
//public Guid? BookSeriesId { get; init; } = null;
/// <summary>
/// Gets the ASIN (Amazon Standard Identification Number) of the book.
/// </summary>
public string? ASIN { get; init; } = null!;
/// <summary>
/// Gets the Goodreads ID of the book.
/// </summary>
public string? GoodreadsId { get; init; } = null!;
/// <summary>
/// Gets the Library of Congress Control Number (LCCN) of the book.
/// </summary>
public string? LCCN { get; init; } = null!;
/// <summary>
/// Gets the OCLC Number (WorldCat identifier) of the book.
/// </summary>
public string? OCLCNumber { get; init; } = null!;
/// <summary>
/// Gets the Open Library ID of the book.
/// </summary>
public string? OpenLibraryId { get; init; } = null!;
/// <summary>
/// Gets the LibraryThing ID of the book.
/// </summary>
public string? LibraryThingId { get; init; } = null!;
/// <summary>
/// Gets the Google Books ID of the book.
/// </summary>
public string? GoogleBooksId { get; init; } = null!;
/// <summary>
/// Gets the Barnes & Noble ID of the book.
/// </summary>
public string? BarnesAndNobleId { get; init; } = null!;
/// <summary>
/// Gets the Apple Books ID of the book.
/// </summary>
public string? AppleBooksId { get; init; } = null!;
/// <summary>
/// Gets the list of ISBN (International Standard Book Number) of the book.
/// </summary>
public List<IsbnModel> ISBNs { get; set; } = [];
/// <summary>
/// Gets the list of media contributors (actors, directors, etc) starring in this book.
/// </summary>
//public List<ContributorIdModel> ContributorIds { get; init; } = [];
/// <summary>
/// Gets the list of ratings for this book.
/// </summary>
public List<BookRatingModel> Ratings { get; init; } = [];
/// <summary>
/// Gets the time and date when the entity was added.
/// </summary>
public DateTime Created { get; set; }
/// <summary>
/// Gets the optional time and date when the entity was updated.
/// </summary>
public DateTime? Updated { get; set; }
#endregion
}
@@ -1,18 +1,20 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.Enums.BookLibrary;
using Lumina.Presentation.Web.Common.Models.Common;
using Lumina.Presentation.Web.Common.Enums;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Books;
namespace Lumina.Presentation.Web.Common.Models.WrittenContentLibrary.BookLibrary;
/// <summary>
/// Represents a book rating.
/// </summary>
public class BookRatingDto : RatingDto
[DebuggerDisplay("{Value}/{MaxValue}")]
public class BookRatingModel : RatingModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets the optional source of the rating (e.g., "Goodreads", "Amazon").
/// Gets or sets the source of the book rating (e.g., a specific website or platform).
/// </summary>
public BookRatingSource? Source { get; set; }
#endregion
@@ -0,0 +1,19 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.WrittenContentLibrary.BookLibrary;
/// <summary>
/// Represents a request to get book series information.
/// </summary>
[DebuggerDisplay("{Title}")]
public class BookSeriesModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets or sets the title of the book series.
/// </summary>
public string? Title { get; set; }
#endregion
}
@@ -1,22 +1,24 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.Enums;
using Lumina.Presentation.Web.Common.Enums.BookLibrary;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.Books;
namespace Lumina.Presentation.Web.Common.Models.WrittenContentLibrary.BookLibrary;
/// <summary>
/// Represents a request to get ISBN information.
/// </summary>
public class IsbnDto
[DebuggerDisplay("{Value} ({Format})")]
public class IsbnModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets the value of the ISBN.
/// Gets or sets the ISBN value.
/// </summary>
public string? Value { get; set; }
/// <summary>
/// Gets the format of the ISBN.
/// Gets or sets the format of the ISBN (e.g., ISBN-10 or ISBN-13).
/// </summary>
public IsbnFormat? Format { get; set; }
#endregion
@@ -0,0 +1,66 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.Models.Common;
using System.Collections.Generic;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.WrittenContentLibrary;
/// <summary>
/// Represents written content metadata.
/// </summary>
[DebuggerDisplay("{Title}")]
public class WrittenContentMetadataModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets or sets the title of the written content.
/// </summary>
public string? Title { get; set; }
/// <summary>
/// Gets or sets the original title of the written content, if different from the current title.
/// </summary>
public string? OriginalTitle { get; set; }
/// <summary>
/// Gets or sets a brief description or summary of the written content.
/// </summary>
public string? Description { get; set; }
/// <summary>
/// Gets or sets the release information, including release date and other relevant details.
/// </summary>
public ReleaseInfoModel? ReleaseInfo { get; set; }
/// <summary>
/// Gets or sets the list of genres associated with the written content.
/// </summary>
public List<GenreModel>? Genres { get; set; }
/// <summary>
/// Gets or sets the list of tags that further describe or categorize the written content.
/// </summary>
public List<TagModel>? Tags { get; set; }
/// <summary>
/// Gets or sets the language in which the written content is written.
/// </summary>
public LanguageInfoModel? Language { get; set; }
/// <summary>
/// Gets or sets the original language of the written content, if it has been translated.
/// </summary>
public LanguageInfoModel? OriginalLanguage { get; set; }
/// <summary>
/// Gets or sets the name of the publisher of the written content.
/// </summary>
public string? Publisher { get; set; }
/// <summary>
/// Gets or sets the number of pages in the written content.
/// </summary>
public int? PageCount { get; set; }
#endregion
}