XmlDocProvider.ResolveInheritDoc Method
- Namespace
- Kampute.DocToolkit.XmlDoc
- Assembly
- Kampute.DocToolkit.dll
Definition
Resolves the
inheritdoc elements in the specified XML element.protected virtual bool ResolveInheritDoc(XElement element)Parameters
elementXElement- The element to resolve its
inheritdocelement.
Returns
Exceptions
- ArgumentNullException
- Thrown when
elementisnull.

inheritdocelement by finding the base member's documentation and merging it into the current element.If an
inheritdocelement has acreforpathattribute, it uses that to find the base member. If not, it attempts to infer the inherited member from the current element'snameattribute. If the base member's documentation is found, its child elements are copied into the current element, and theinheritdocelement is removed.