![]() | WritableCollectionT Class |
Namespace: Ookii.Jumbo.IO
public sealed class WritableCollection<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IWritable, IList, ICollection where T : IWritable
The WritableCollectionT type exposes the following members.
Name | Description | |
---|---|---|
![]() | WritableCollectionT |
Initializes a new instance of the WritableCollectionT class that is empty and has the default initial capacity.
|
![]() | WritableCollectionT(IEnumerableT) |
Initializes a new instance of the WritableCollectionT class that
contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
|
![]() | WritableCollectionT(Int32) |
Initializes a new instance of the WritableCollectionT class that
is empty and has the specified initial capacity.
|
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of elements actually contained in the WritableCollectionT.
|
![]() | Item |
Gets or sets the element at the specified index.
|
Name | Description | |
---|---|---|
![]() | Add |
Adds an object to the end of the WritableCollectionT.
|
![]() | AddRange |
Adds the elements of the specified collection to the end of the WritableCollectionT.
|
![]() | Clear |
Removes all elements from the WritableCollectionT.
|
![]() | Contains |
Determines whether an element is in the WritableCollectionT.
|
![]() | CopyTo |
Copies the entire WritableCollectionT to a compatible one-dimensional array, starting at the specified index of the target array.
|
![]() | Equals |
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).) |
![]() | GetEnumerator |
Returns an enumerator that iterates through the WritableCollectionT.
|
![]() | GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf |
Searches for the specified object and returns the zero-based index of the first occurrence
within the range of elements in the WritableCollectionT that extends from the specified index to the last element.
|
![]() | Insert |
Inserts an element into the WritableCollectionT at the specified index.
|
![]() | Read |
Reads the object from the specified reader.
|
![]() | Remove |
Removes the first occurrence of a specific object from the WritableCollectionT.
|
![]() | RemoveAt |
Removes the element at the specified index of the WritableCollectionT.
|
![]() | ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |
![]() | Write |
Writes the object to the specified writer.
|
Name | Description | |
---|---|---|
![]() | GetSequenceHashCodeT |
Gets the hash code for the specified sequence of elements.
(Defined by ListExtensions.) |
![]() | OrderByT, TKey |
Sorts the elements of a sequence in ascending or descending order according to a key.
(Defined by ListExtensions.) |
![]() | RandomizeT | Overloaded.
Randomizes the specified list.
(Defined by ListExtensions.) |
![]() | RandomizeT(Random) | Overloaded.
Randomizes the specified list.
(Defined by ListExtensions.) |
![]() | SwapT |
Swaps two elements in the specified list.
(Defined by ListExtensions.) |
![]() | ToDelimitedStringT | Overloaded.
Creates a string with the items of a list separated by a comma.
(Defined by ListExtensions.) |
![]() | ToDelimitedStringT(String) | Overloaded.
Creates a string with the items of a list separated by the specified delimiter.
(Defined by ListExtensions.) |
You cannot add as an item in this collection.