The extension methods for Array types.
More...
|
static void | CheckBounds (this Array array, int offset, int length) |
| Checks that the given offset and length are valid for the current array. More...
|
|
static bool | IsSegmentEqual< TValue > (this TValue[] array1, int offset1, TValue[] array2, int offset2, int length) |
| Checks if two given array segments are equal by using their default equality comparer. More...
|
|
The extension methods for Array types.
Since 6.0.
static void PushTechnology.ClientInterface.Extensions.ArrayExtensions.CheckBounds |
( |
this Array |
array, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
| |
|
static |
Checks that the given offset and length are valid for the current array.
Since 5.8.
- Parameters
-
array | The array to check against. |
offset | The starting index of the array segment. |
length | The length of the array segment. |
- Exceptions
-
ArgumentNullException | The given array is null . |
ArgumentOutOfRangeException | The given offset or length are negative or bigger than the given array. |
static bool PushTechnology.ClientInterface.Extensions.ArrayExtensions.IsSegmentEqual< TValue > |
( |
this TValue[] |
array1, |
|
|
int |
offset1, |
|
|
TValue[] |
array2, |
|
|
int |
offset2, |
|
|
int |
length |
|
) |
| |
|
static |
Checks if two given array segments are equal by using their default equality comparer.
Since 6.0.
- Template Parameters
-
TValue | The array value type. |
- Parameters
-
array1 | The first array. |
offset1 | The starting index of the first array segment. |
array2 | The second array. |
offset2 | The starting index of the second array segment. |
length | The length of both both array segments. |
- Returns
- True if all it
The documentation for this class was generated from the following file:
- Common.Public/Extensions/ArrayExtensions.cs