Version 3.0.0.2

ImmutableList class

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

Constructors

ImmutableList(IList)
public ImmutableList(IList innerList)
Parameters
System.Collections.IList innerList

Properties

Count
public int Count { get; }
IsFixedSize
public bool IsFixedSize { get; }
IsReadOnly
public bool IsReadOnly { get; }
IsSynchronized
public bool IsSynchronized { get; }
Item[Int32]
public object this[int index] { get; }
Parameters
System.Int32 index

SyncRoot
public object SyncRoot { get; }

Methods

Contains(Object)
public bool Contains(object value)
Parameters
System.Object value

Returns
System.Boolean

CopyTo(Array, Int32)
public void CopyTo(Array array, int index)
Parameters
System.Array array

System.Int32 index

CopyTo(Object[], Int32)
public void CopyTo(object[] array, int arrayIndex)
Parameters
System.Object[] array

System.Int32 arrayIndex

GetEnumerator()
public IEnumerator GetEnumerator()
Returns
System.Collections.IEnumerator

IndexOf(Object)
public int IndexOf(object value)
Parameters
System.Object value

Returns
System.Int32

Extension Methods