ReferenceComment.Collect Method

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

Definition

Collects all references from the specified XML elements, preserving the order of first occurrence.
public static List<ReferenceComment> Collect(IEnumerable<XElement> elements)

Parameters

elements IEnumerable<XElement>
The XML elements to collect references from.

Returns

List<ReferenceComment>
An list of ReferenceComment instances in the order they first appear.

Exceptions

ArgumentNullException
Thrown when elements is null.