UniqueIntegerCollection(IEnumerable<Int32>, Int32, Int32, Boolean) Constructor
Construct a collection from an enumerable list of unique integers with a range and zeros exclusion
setting.
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
public UniqueIntegerCollection(
IEnumerable<int> values,
int min,
int max,
bool zeroAllowed
)
Public Sub New (
values As IEnumerable(Of Integer),
min As Integer,
max As Integer,
zeroAllowed As Boolean
)
public:
UniqueIntegerCollection(
IEnumerable<int>^ values,
int min,
int max,
bool zeroAllowed
)
new :
values : IEnumerable<int> *
min : int *
max : int *
zeroAllowed : bool -> UniqueIntegerCollection
Parameters
- values IEnumerable<Int32>
- The enumerable list of integers
- min Int32
- The minimum value allowed
- max Int32
- The maximum value allowed
- zeroAllowed Boolean
- Allow zero or not