UniqueIntegerCollection(IEnumerableInt32, Int32, Int32, Boolean) Constructor

Construct a collection from an enumerable list of unique integers with a range and zeros exclusion setting.

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public UniqueIntegerCollection(
	IEnumerable<int> values,
	int min,
	int max,
	bool zeroAllowed
)

Parameters

values  IEnumerableInt32
The enumerable list of integers
min  Int32
The minimum value allowed
max  Int32
The maximum value allowed
zeroAllowed  Boolean
Allow zero or not

See Also