ApiTypeDetail Pennington.ApiMetadata
Full detail for a documented type, including parsed xmldoc and inheritance data, but not its members (those stream from GetMembersAsync).
Properties
ImplementsSystem.Collections.Immutable.ImmutableArray<string>- Implemented-interface uids.
InheritanceSystem.Collections.Immutable.ImmutableArray<string>- Base-type uids, most-derived first. Empty for interfaces and
object. SignatureHtmlstring?- Default:
nullPre-highlighted declaration HTML, ornullwhen not available. SourcePennington.ApiMetadata.ApiSourceLocation?- Default:
nullOptional source-link target for a "view source" button. SummaryPennington.ApiMetadata.ApiTypeSummary- Header describing the type.
XmldocPennington.ApiMetadata.ParsedXmlDoc- Parsed xmldoc for the type itself.
Constructors
.ctor
#public sealed record ApiTypeDetail(
ApiTypeSummary Summary,
ParsedXmlDoc Xmldoc,
string? SignatureHtml,
ImmutableArray<string> Inheritance,
ImmutableArray<string> Implements,
ApiSourceLocation? Source);Full detail for a documented type, including parsed xmldoc and inheritance data, but not its members (those stream from GetMembersAsync).
Parameters
SummaryApiTypeSummary- Header describing the type.
XmldocParsedXmlDoc- Parsed xmldoc for the type itself.
SignatureHtmlstring?- Pre-highlighted declaration HTML, or
nullwhen not available. InheritanceImmutableArray<string>- Base-type uids, most-derived first. Empty for interfaces and
object. ImplementsImmutableArray<string>- Implemented-interface uids.
SourceApiSourceLocation?- Optional source-link target for a "view source" button.
Pennington.ApiMetadata.ApiTypeDetail
namespace Pennington.ApiMetadata;
/// Full detail for a documented type, including parsed xmldoc and inheritance data, but not its members (those stream from GetMembersAsync).
public record ApiTypeDetail
{
/// Full detail for a documented type, including parsed xmldoc and inheritance data, but not its members (those stream from GetMembersAsync).
public sealed record ApiTypeDetail(
ApiTypeSummary Summary,
ParsedXmlDoc Xmldoc,
string? SignatureHtml,
ImmutableArray<string> Inheritance,
ImmutableArray<string> Implements,
ApiSourceLocation? Source);
/// Implemented-interface uids.
ImmutableArray<string> Implements
;
/// Base-type uids, most-derived first. Empty for interfaces and object.
ImmutableArray<string> Inheritance
;
/// Pre-highlighted declaration HTML, or null when not available.
string? SignatureHtml
;
/// Optional source-link target for a "view source" button.
ApiSourceLocation? Source
;
/// Header describing the type.
ApiTypeSummary Summary
;
/// Parsed xmldoc for the type itself.
ParsedXmlDoc Xmldoc
;
}