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

ApiDefinitionRow Pennington.DocSite.Api.Components.Reference

One row in an ApiDefinitionList: a named definition with a type, an optional default value, an optional "required" flag, and a description.

Properties

DefaultValue string
Default value as it would appear in source, or null when no default applies.
DescriptionHtml string
Pre-rendered HTML for the description column (already escaped).
Name string
Identifier shown in the Name column.
Required bool
When true, the row renders a "required" badge.
TypeDisplay string
Human-readable type, shown in the Type column.

Constructors

ApiDefinitionRow

#
public ApiDefinitionRow(string Name, string TypeDisplay, string DefaultValue, bool Required, string DescriptionHtml)

One row in an ApiDefinitionList: a named definition with a type, an optional default value, an optional "required" flag, and a description.

Parameters

Name string
Identifier shown in the Name column.
TypeDisplay string
Human-readable type, shown in the Type column.
DefaultValue string
Default value as it would appear in source, or null when no default applies.
Required bool
When true, the row renders a "required" badge.
DescriptionHtml string
Pre-rendered HTML for the description column (already escaped).

Pennington.DocSite.Api.Components.Reference.ApiDefinitionRow

namespace Pennington.DocSite.Api.Components.Reference;

/// One row in an ApiDefinitionList: a named definition with a type, an optional default value, an optional "required" flag, and a description.
public record ApiDefinitionRow
{
    /// One row in an ApiDefinitionList: a named definition with a type, an optional default value, an optional "required" flag, and a description.
    
public ApiDefinitionRow(string Name, string TypeDisplay, string DefaultValue, bool Required, string DescriptionHtml)
; /// Default value as it would appear in source, or null when no default applies.
public string DefaultValue { get; set; }
/// Pre-rendered HTML for the description column (already escaped).
public string DescriptionHtml { get; set; }
/// Identifier shown in the Name column.
public string Name { get; set; }
/// When true, the row renders a "required" badge.
public bool Required { get; set; }
/// Human-readable type, shown in the Type column.
public string TypeDisplay { get; set; }
}