CollectionExt ClassIReadOnlyCollection<T> and ICollection<T> extensions.
Inheritance Hierarchy
System.Object
UltimateXR.Extensions.System.Collections.CollectionExt
Namespace: UltimateXR.Extensions.System.Collections
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static class CollectionExt
The CollectionExt type exposes the following members.
Methods
Name | Description | |
---|---|---|
SplitAddRange | Splits a string using Split(Char[]) and adds the result to the collection. | |
SplitSetRange | Splits a string using Split(Char[]) and sets the result in the collection. | |
ThrowIfInvalidIndex<T> | Throws an exception if a given index is out of a IReadOnlyCollection<T> bounds. | |
ThrowIfInvalidIndexes<T>(IReadOnlyCollection<T>, Int32[]) | Throws an exception if any of the given indexes is out of a IReadOnlyCollection<T> bounds. | |
ThrowIfInvalidIndexes<T>(IReadOnlyCollection<T>, Int32, Int32) | Throws an exception if any of the given indexes is out of a IReadOnlyCollection<T> bounds. | |
ThrowIfInvalidIndexes<T>(IReadOnlyCollection<T>, Int32, Int32, Int32) | Throws an exception if any of the given indexes is out of a IReadOnlyCollection<T> bounds. |