Skip to content

bookgen.api.v1.idocument

webmaster442 edited this page Jul 19, 2026 · 2 revisions

< Back


IDocument

Namespace: BookGen.Api.V1

Represents a document in the book

public interface IDocument

Attributes NullableContextAttribute

Properties

FilePath

File path of the document

string FilePath { get; }

Property Value

String

Methods

ReadContent()

Reads the content of the document and its front matter asynchronously

Task<(string content, IDocumentFrontMatter frontMatter)> ReadContent()

Returns

Task<(String, IDocumentFrontMatter)>
A tuple containing the content and front matter of the document


< Back

Clone this wiki locally