Version 2.1.0.0

ImmutableList<T> class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public sealed class ImmutableList<T> : IImmutableList<T>, IImmutableList, IList, ICollection, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Not yet documented.
Inheritance
  • System.Object
  • ImmutableList<T>

Type Parameters

T

Constructors

ImmutableList(IList<T>)
Not yet documented.
public ImmutableList(IList<T> innerList)
Parameters
System.Collections.Generic.IList<T> innerList

Properties

Count
Not yet documented.
public int Count { get; }
IsReadOnly
Not yet documented.
public bool IsReadOnly { get; }
Item[Int32]
Not yet documented.
public T this[int index] { get; }
Parameters
System.Int32 index

Methods

Contains(T)
Not yet documented.
public bool Contains(T item)
Parameters
T item

Returns
System.Boolean

CopyTo(T[], Int32)
Not yet documented.
public void CopyTo(T[] array, int arrayIndex)
Parameters
T[] array

System.Int32 arrayIndex

GetEnumerator()
Not yet documented.
public IEnumerator<T> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<T>

IndexOf(T)
Not yet documented.
public int IndexOf(T item)
Parameters
T item

Returns
System.Int32

Extension Methods