NamespaceModel.MergeDuplicates Method
- Namespace
- Kampute.DocToolkit.Models
- Assembly
- Kampute.DocToolkit.dll
Definition
Merges duplicate namespace entries by combining their type information.
public static IEnumerable<NamespaceModel> MergeDuplicates(IEnumerable<NamespaceModel> namespaces)Parameters
namespacesIEnumerable<NamespaceModel>- The collection of namespace information to examine.
Returns
- IEnumerable<NamespaceModel>
- A collection of namespace information where duplicate entries have been merged into single entries.
Exceptions
- ArgumentNullException
- Thrown when
namespacesisnull.
Remarks
This method is implemented by using deferred execution. The immediate return value is an object that stores all the information that is required to perform the action.
