XmlDocListItem
Pennington.ApiMetadata
Single item within a ListNode.
Properties
DescriptionImmutableArray<XmlDocNode>- Nodes from the
<description>element (or the item body when no description element is present). TermImmutableArray<XmlDocNode>- Nodes from the
<term>element.
Constructors
XmlDocListItem
#public 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
{
/// Nodes from the <description> element (or the item body when no description element is present).
public ImmutableArray<XmlDocNode> Description { get; set; }
/// Nodes from the <term> element.
public ImmutableArray<XmlDocNode> Term { get; set; }
/// Single item within a ListNode.
public XmlDocListItem(ImmutableArray<XmlDocNode> Term, ImmutableArray<XmlDocNode> Description)
;
}