mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Adds book reading support with EPUB and PDF reader plugins
This commit is contained in:
1 parent
275fd83ff2
commit
f7ccdf3d1c
271 files changed
+11501
-361
No files matched your search
@@ -0,0 +1,27 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.DTO.Reading;
|
||||
|
||||
/// <summary>
|
||||
/// Data transfer object for the content of a reading section of a book.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("LocationRef: {LocationRef}")]
|
||||
public class ReadingSectionDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the opaque location reference of the reading section.
|
||||
/// </summary>
|
||||
public string LocationRef { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the title of the reading section, if known.
|
||||
/// </summary>
|
||||
public string? Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the sanitized HTML content of the reading section, ready to be rendered by the client.
|
||||
/// </summary>
|
||||
public string ContentHtml { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in new issue
Block a user