Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Collections.Immutable.ImmutableList< T >.Builder Class Referencesealed

Public Member Functions

ref readonly T ItemRef (int index)
 
int IndexOf (T item)
 
void Insert (int index, T item)
 
void RemoveAt (int index)
 
void Add (T item)
 
void Clear ()
 
bool Contains (T item)
 
bool Remove (T item)
 
ImmutableList< T >.Enumerator GetEnumerator ()
 
void ForEach (Action< T > action)
 
void CopyTo (T[] array)
 
void CopyTo (T[] array, int arrayIndex)
 
void CopyTo (int index, T[] array, int arrayIndex, int count)
 
ImmutableList< TGetRange (int index, int count)
 
ImmutableList< TOutput > ConvertAll< TOutput > (Func< T, TOutput > converter)
 
bool Exists (Predicate< T > match)
 
TFind (Predicate< T > match)
 
ImmutableList< TFindAll (Predicate< T > match)
 
int FindIndex (Predicate< T > match)
 
int FindIndex (int startIndex, Predicate< T > match)
 
int FindIndex (int startIndex, int count, Predicate< T > match)
 
TFindLast (Predicate< T > match)
 
int FindLastIndex (Predicate< T > match)
 
int FindLastIndex (int startIndex, Predicate< T > match)
 
int FindLastIndex (int startIndex, int count, Predicate< T > match)
 
int IndexOf (T item, int index)
 
int IndexOf (T item, int index, int count)
 
int IndexOf (T item, int index, int count, IEqualityComparer< T >? equalityComparer)
 
int LastIndexOf (T item)
 
int LastIndexOf (T item, int startIndex)
 
int LastIndexOf (T item, int startIndex, int count)
 
int LastIndexOf (T item, int startIndex, int count, IEqualityComparer< T >? equalityComparer)
 
bool TrueForAll (Predicate< T > match)
 
void AddRange (IEnumerable< T > items)
 
void InsertRange (int index, IEnumerable< T > items)
 
int RemoveAll (Predicate< T > match)
 
void Reverse ()
 
void Reverse (int index, int count)
 
void Sort ()
 
void Sort (Comparison< T > comparison)
 
void Sort (IComparer< T >? comparer)
 
void Sort (int index, int count, IComparer< T >? comparer)
 
int BinarySearch (T item)
 
int BinarySearch (T item, IComparer< T >? comparer)
 
int BinarySearch (int index, int count, T item, IComparer< T >? comparer)
 
ImmutableList< TToImmutable ()
 
int Add (object? value)
 
bool Contains (object? value)
 
int IndexOf (object? value)
 
void Insert (int index, object? value)
 
void Remove (object? value)
 
int Add (object? value)
 
bool Contains (object? value)
 
int IndexOf (object? value)
 
void Insert (int index, object? value)
 
void Remove (object? value)
 

Package Functions

 Builder (ImmutableList< T > list)
 

Properties

int Count [get]
 
bool ICollection< T >. IsReadOnly [get]
 
int Version [get]
 
Node Root [get, private set]
 
T this[int index] [get, set]
 
T IOrderedCollection< T >. this[int index] [get]
 
bool IList. IsFixedSize [get]
 
bool IList. IsReadOnly [get]
 
object? IList. this[int index] [get, set]
 
bool ICollection. IsSynchronized [get]
 
object ICollection. SyncRoot [get]
 

Private Member Functions

IEnumerator< T > IEnumerable< T >. GetEnumerator ()
 
IEnumerator IEnumerable. GetEnumerator ()
 
int IList. Add (object value)
 
void IList. Clear ()
 
bool IList. Contains (object value)
 
int IList. IndexOf (object value)
 
void IList. Insert (int index, object value)
 
void IList. Remove (object value)
 
void ICollection. CopyTo (Array array, int arrayIndex)
 

Private Attributes

Node _root = Node.EmptyNode
 
ImmutableList< T_immutable
 
int _version
 
object _syncRoot
 

Detailed Description

Definition at line 137 of file ImmutableList.cs.


The documentation for this class was generated from the following file: