This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

BuildAuditContext Pennington.Generation

Inputs handed to AuditAsync.

Properties

Localization LocalizationOptions
Configured locales and the default-locale code.
Pages ImmutableList<ContentTocItem>
All TOC entries from every registered IContentService, post-discovery and locale-aware.

Constructors

BuildAuditContext

#
public BuildAuditContext(ImmutableList<ContentTocItem> Pages, LocalizationOptions Localization)

Inputs handed to AuditAsync.

Parameters

Pages ImmutableList<ContentTocItem>
All TOC entries from every registered IContentService, post-discovery and locale-aware.
Localization LocalizationOptions
Configured locales and the default-locale code.

Pennington.Generation.BuildAuditContext

namespace Pennington.Generation;

/// Inputs handed to AuditAsync.
public record BuildAuditContext
{
    /// Inputs handed to AuditAsync.
    
public BuildAuditContext(ImmutableList<ContentTocItem> Pages, LocalizationOptions Localization)
; /// Configured locales and the default-locale code.
public LocalizationOptions Localization { get; set; }
/// All TOC entries from every registered IContentService, post-discovery and locale-aware.
public ImmutableList<ContentTocItem> Pages { get; set; }
}