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

Skip to main content Skip to navigation

ApiTypeSummary Pennington.ApiMetadata

Lightweight header describing a documented type, used for listings, slug disambiguation, and cross-link display names.

Properties

Assembly string
Declaring assembly name without extension.
FullTypeName string
Fully-qualified type name (namespace + dot + type name).
Kind Pennington.ApiMetadata.ApiTypeKind
Category of the type.
Name string
Short type name without namespace (e.g. ContentPipeline).
Namespace string
Fully-qualified containing namespace, empty for the global namespace.
Summary string?
Default: null
First-sentence plain-text summary, or null when no xmldoc summary is available.
Uid string
Canonical xmldocid (e.g. T:Namespace.TypeName). Normalized to xmldocid form regardless of source backend.

Constructors

.ctor

#
public sealed record ApiTypeSummary(
    string Uid,
    string Name,
    string Namespace,
    string Assembly,
    ApiTypeKind Kind,
    string? Summary)
{
    /// <summary>Fully-qualified type name (namespace + dot + type name).</summary>
    public string FullTypeName =>
        string.IsNullOrEmpty(Namespace) ? Name : $"{Namespace}.{Name}";
}

Lightweight header describing a documented type, used for listings, slug disambiguation, and cross-link display names.

Parameters

Uid string
Canonical xmldocid (e.g. T:Namespace.TypeName). Normalized to xmldocid form regardless of source backend.
Name string
Short type name without namespace (e.g. ContentPipeline).
Namespace string
Fully-qualified containing namespace, empty for the global namespace.
Assembly string
Declaring assembly name without extension.
Kind ApiTypeKind
Category of the type.
Summary string?
First-sentence plain-text summary, or null when no xmldoc summary is available.

Pennington.ApiMetadata.ApiTypeSummary

namespace Pennington.ApiMetadata;

/// Lightweight header describing a documented type, used for listings, slug disambiguation, and cross-link display names.
public record ApiTypeSummary
{
    /// Lightweight header describing a documented type, used for listings, slug disambiguation, and cross-link display names.
    
public sealed record ApiTypeSummary(
    string Uid,
    string Name,
    string Namespace,
    string Assembly,
    ApiTypeKind Kind,
    string? Summary)
{
    /// <summary>Fully-qualified type name (namespace + dot + type name).</summary>
    public string FullTypeName =>
        string.IsNullOrEmpty(Namespace) ? Name : $"{Namespace}.{Name}";
}
/// Declaring assembly name without extension.
string Assembly
; /// Fully-qualified type name (namespace + dot + type name).
public string FullTypeName =>
    string.IsNullOrEmpty(Namespace) ? Name : $"{Namespace}.{Name}";
/// Category of the type.
ApiTypeKind Kind
; /// Short type name without namespace (e.g. ContentPipeline).
string Name
; /// Fully-qualified containing namespace, empty for the global namespace.
string Namespace
; /// First-sentence plain-text summary, or null when no xmldoc summary is available.
string? Summary
; /// Canonical xmldocid (e.g. T:Namespace.TypeName). Normalized to xmldocid form regardless of source backend.
string Uid
; }