Namespace: | Sirenix.Utilities |
Assembly: | Sirenix.Utilities |
public sealed class ImmutableList<TList, TElement> : IImmutableList<TElement>, IImmutableList, IList, ICollection, IList<TElement>, ICollection<TElement>, IEnumerable<TElement>, IEnumerable where TList : IList<TElement>
public ImmutableList(TList innerList)
TList | innerList |
public int Count { get; }
public bool IsReadOnly { get; }
public TElement this[int index] { get; }
System.Int32 | index | Index. |
true
if the item is contained in the list.
public bool Contains(TElement item)
TElement | item |
System.Boolean |
public void CopyTo(TElement[] array, int arrayIndex)
TElement[] | array | |
System.Int32 | arrayIndex |
public IEnumerator<TElement> GetEnumerator()
System.Collections.Generic.IEnumerator<TElement> |
public int IndexOf(TElement item)
TElement | item |
System.Int32 |