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

Skip to main content Skip to navigation

ContentGroup Pennington.Tui

Per-IContentService bundle of TOC items surfaced in the Content tab.

Properties

DefaultSectionLabel string
The service's DefaultSectionLabel, shown as a dim subtitle.
Items System.Collections.Generic.IReadOnlyList<Pennington.Content.ContentTocItem>
Items the service returned on the most recent refresh.
ServiceLabel string
Pretty-printed service type name (e.g. MarkdownContentService<DocFrontMatter>).

Constructors

.ctor

#
public readonly record struct ContentGroup(
    string ServiceLabel,
    string DefaultSectionLabel,
    IReadOnlyList<ContentTocItem> Items);

Per-IContentService bundle of TOC items surfaced in the Content tab.

Parameters

ServiceLabel string
Pretty-printed service type name (e.g. MarkdownContentService<DocFrontMatter>).
DefaultSectionLabel string
The service's DefaultSectionLabel, shown as a dim subtitle.
Items IReadOnlyList<ContentTocItem>
Items the service returned on the most recent refresh.

Pennington.Tui.ContentGroup

namespace Pennington.Tui;

/// Per-IContentService bundle of TOC items surfaced in the Content tab.
public record ContentGroup
{
    /// Per-IContentService bundle of TOC items surfaced in the Content tab.
    
public readonly record struct ContentGroup(
    string ServiceLabel,
    string DefaultSectionLabel,
    IReadOnlyList<ContentTocItem> Items);
/// The service's DefaultSectionLabel, shown as a dim subtitle.
string DefaultSectionLabel
; /// Items the service returned on the most recent refresh.
IReadOnlyList<ContentTocItem> Items
; /// Pretty-printed service type name (e.g. MarkdownContentService<DocFrontMatter>).
string ServiceLabel
; }