This site provides a machine-readable index at /llms.txt.

Skip to main content Skip to navigation

TextProgrammaticContent Pennington.Pipeline

Programmatic content produced as a text body.

Properties

ContentType string
Default: "text/html"
MIME type for the response.
Metadata Pennington.FrontMatter.IFrontMatter?
Default: null
Optional front matter metadata.
RawContent string
Raw body text (markdown or HTML depending on content type).

Constructors

.ctor

#
public record TextProgrammaticContent(
    IFrontMatter? Metadata,
    string RawContent,
    string ContentType = "text/html"
);

Programmatic content produced as a text body.

Parameters

Metadata IFrontMatter?
Optional front matter metadata.
RawContent string
Raw body text (markdown or HTML depending on content type).
ContentType string (optional)
MIME type for the response.

Pennington.Pipeline.TextProgrammaticContent

namespace Pennington.Pipeline;

/// Programmatic content produced as a text body.
public record TextProgrammaticContent
{
    /// Programmatic content produced as a text body.
    
public record TextProgrammaticContent(
    IFrontMatter? Metadata,
    string RawContent,
    string ContentType = "text/html"
);
/// MIME type for the response.
string ContentType = "text/html"
/// Optional front matter metadata.
IFrontMatter? Metadata
; /// Raw body text (markdown or HTML depending on content type).
string RawContent
; }