DelayedListT Class |
Namespace: Archon.SwissArmyLib.Collections
public class DelayedList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
The DelayedListT type exposes the following members.
Name | Description | |
---|---|---|
DelayedListT |
Creates a new DelayedList which uses ListT.
| |
DelayedListT(IListT) |
Creates a new DelayedList that wraps the given list.
| |
DelayedListT(IListT, Int32) |
Creates a new DelayedList that wraps the given list.
| |
DelayedListT(Int32, Int32) |
Creates a new DelayedList which uses ListT and has the specified initial capacity and change capacity.
|
Name | Description | |
---|---|---|
BackingList |
A readonly version of the list containing processed items.
| |
Count |
Gets the amount of items in the list.
| |
Item |
Gets the item at a specific index.
|
Name | Description | |
---|---|---|
Add |
Adds an item to the list the next time ProcessPending is called.
| |
AddRange |
Adds multiple items to the list the next time ProcessPending is called.
| |
Clear |
Clears all items from the list the next time ProcessPending is called.
| |
ClearInstantly |
Clears all items from the list and all pending additions and removals instantly, without having to call ProcessPending.
| |
ClearPending |
Clears all pending changes.
| |
Contains |
Checks whether the backing list currently contains a specific item.
| |
CopyTo |
Copies the contents of the backing list to the specified array starting at the specified index.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator |
Gets an enumerator for the backing list.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
IndexOf |
Gets the index of an item in the list.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ProcessPending |
Processes all pending additions and removals.
| |
Remove |
Removes an item from the list the next time ProcessPending is called.
| |
RemoveAt |
Removes the value currently found at the specified index the next time ProcessPending is called.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ShuffleT |
Shuffles the list using Fisher–Yates shuffle algorithm.
(Defined by ListExtensions.) |