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

members IEnumerable<T>
The members that are overloads of each other.

Exceptions

ArgumentNullException
Thrown when members is null.
ArgumentException
Thrown when members contains elements that are not overloads of each other.
Thrown when members contains fewer than two elements.