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

NameDescription
Public methodStatic memberSplitAddRange Splits a string using Split(Char[]) and adds the result to the collection.
Public methodStatic memberSplitSetRange Splits a string using Split(Char[]) and sets the result in the collection.
Public methodStatic memberThrowIfInvalidIndex<T> Throws an exception if a given index is out of a IReadOnlyCollection<T> bounds.
Public methodStatic memberThrowIfInvalidIndexes<T>(IReadOnlyCollection<T>, Int32[]) Throws an exception if any of the given indexes is out of a IReadOnlyCollection<T> bounds.
Public methodStatic memberThrowIfInvalidIndexes<T>(IReadOnlyCollection<T>, Int32, Int32) Throws an exception if any of the given indexes is out of a IReadOnlyCollection<T> bounds.
Public methodStatic memberThrowIfInvalidIndexes<T>(IReadOnlyCollection<T>, Int32, Int32, Int32) Throws an exception if any of the given indexes is out of a IReadOnlyCollection<T> bounds.

See Also

Reference

UltimateXR.Extensions.System.Collections Namespace