XmlDocListItem Pennington.ApiMetadata
Single item within a ListNode.
Properties
DescriptionSystem.Collections.Immutable.ImmutableArray<XmlDocNode>- Nodes from the
<description>element (or the item body when no description element is present). TermSystem.Collections.Immutable.ImmutableArray<XmlDocNode>- Nodes from the
<term>element.
Constructors
.ctor
#public record XmlDocListItem(ImmutableArray<XmlDocNode> Term, ImmutableArray<XmlDocNode> Description);Single item within a ListNode.
Parameters
TermImmutableArray<XmlDocNode>- Nodes from the
<term>element. DescriptionImmutableArray<XmlDocNode>- Nodes from the
<description>element (or the item body when no description element is present).
Pennington.ApiMetadata.XmlDocListItem
namespace Pennington.ApiMetadata;
/// Single item within a ListNode.
public record XmlDocListItem
{
/// Single item within a ListNode.
public record XmlDocListItem(ImmutableArray<XmlDocNode> Term, ImmutableArray<XmlDocNode> Description);
/// Nodes from the <description> element (or the item body when no description element is present).
ImmutableArray<XmlDocNode> Description
;
/// Nodes from the <term> element.
ImmutableArray<XmlDocNode> Term
;
}