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

XmlDocParser Pennington.ApiMetadata

Default IXmlDocParser implementation that parses xmldoc XML via XDocument.

Methods

Parse

#
public ParsedXmlDoc Parse(string xmlDocumentation)

Parses the given xmldoc XML string and returns a structured tree, or Empty when the input is null, empty, or malformed.

Parameters

xmlDocumentation string

Returns

ParsedXmlDoc

Pennington.ApiMetadata.XmlDocParser

namespace Pennington.ApiMetadata;

/// Default IXmlDocParser implementation that parses xmldoc XML via XDocument.
public class XmlDocParser
{
    /// Parses the given xmldoc XML string and returns a structured tree, or Empty when the input is null, empty, or malformed.
    
public ParsedXmlDoc Parse(string xmlDocumentation)
; }