OverloadCollection<T> Constructor
- Namespace
- Kampute.DocToolkit.Collections
- Assembly
- Kampute.DocToolkit.dll
Definition
Initializes a new instance of the OverloadCollection<T> class.
public OverloadCollection<T>(IEnumerable<T> members)Parameters
membersIEnumerable<T>- The members that are overloads of each other.
Exceptions
- ArgumentNullException
- Thrown when
membersisnull. - ArgumentException
- Thrown when
memberscontains elements that are not overloads of each other. - Thrown when
memberscontains fewer than two elements.
