Record
public record FrontMatterResult : System.IEquatable<Moka.Docs.Parsing.FrontMatter.FrontMatterResult>

Namespace: Moka.Docs.Parsing.FrontMatter

The result of front matter extraction: the parsed metadata and remaining body.

Inheritance

Implements: System.IEquatable<Moka.Docs.Parsing.FrontMatter.FrontMatterResult>

Constructors

NameDescription
FrontMatterResult(FrontMatter FrontMatter, string Body) The result of front matter extraction: the parsed metadata and remaining body.

FrontMatterResult(FrontMatter FrontMatter, string Body)

FrontMatterResult.FrontMatterResult(FrontMatter FrontMatter, string Body)

The result of front matter extraction: the parsed metadata and remaining body.

Parameters

NameTypeDescription
FrontMatterCore.Content.FrontMatterThe parsed front matter metadata.
BodystringThe Markdown body content after the front matter block.

Properties

NameDescription
Body The Markdown body content after the front matter block.
FrontMatter The parsed front matter metadata.

Body

string FrontMatterResult.Body { get; init; }

The Markdown body content after the front matter block.

FrontMatter

FrontMatter FrontMatterResult.FrontMatter { get; init; }

The parsed front matter metadata.

Type Relationships
classDiagram
                    style FrontMatterResult fill:#f9f,stroke:#333,stroke-width:2px
                    FrontMatterResult ..|> FrontMatterResult~ : implements
                
View Source
/// <summary>
///     The result of front matter extraction: the parsed metadata and remaining body.
/// </summary>
/// <param name = "FrontMatter">The parsed front matter metadata.</param>
/// <param name = "Body">The Markdown body content after the front matter block.</param>
public sealed record FrontMatterResult(Core.Content.FrontMatter FrontMatter, string Body);
Was this page helpful?