XmlDocProvider.TryResolveInheritedElement Method

Namespace
Kampute.DocToolkit.XmlDoc
Assembly
  • Kampute.DocToolkit.dll

Definition

Attempts to resolve the inherited element for the specified inheritdoc element.
protected virtual bool TryResolveInheritedElement(XElement element, XElement inheritDoc, [NotNullWhen(true)] out XElement inheritedElement)

Parameters

element XElement
The element to merge the inherited documentation into.
inheritDoc XElement
The inheritdoc element to resolve.
inheritedElement XElement
When this method returns, contains the inherited element, if found; otherwise, null.

Returns

bool
true if the inherited element was found; otherwise, false.

Exceptions

ArgumentNullException
Thrown when element or inheritDoc is null.