Click or drag to resize

ArgumentGuard Methods

The ArgumentGuard type exposes the following members.

Methods
  NameDescription
Public methodStatic memberHasElements
Throws if collection is empty.
Public methodStatic memberHasSize
Throws if collection has not the expected number of elements.
Public methodStatic memberInRangeT
Throws if ordinary value is out of bounds.
Public methodStatic memberNotNull
Throws if argument is null.
Public methodStatic memberNotNullOrEmpty
Throws if string is null or empty.
Public methodStatic memberOneOfT
Throws if enum value is not in the expected set.
Top
See Also