System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<T> Members

The members of System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<T> are listed below.

See Also: Inherited members from System.Object

Public Constructors

Constructs a ReadOnlyCollectionBuilder.

Documentation for this section has not yet been entered.

Constructs a ReadOnlyCollectionBuilder with a given initial capacity. The contents are empty but builder will have reserved room for the given number of elements before any reallocations are required.

Public Properties

Capacityint.

Gets and sets the capacity of this ReadOnlyCollectionBuilder.

[read-only]
Countint.

Returns number of elements in the ReadOnlyCollectionBuilder.

default property
Item(int)T. Documentation for this section has not yet been entered.

Public Methods

Add(T)
Documentation for this section has not yet been entered.
Clear()

Removes all items from the System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1.

Contains(T) : bool
Documentation for this section has not yet been entered.
CopyTo(T[], int)
Documentation for this section has not yet been entered.
GetEnumerator() : IEnumerator<T>

Returns an enumerator that iterates through the collection.

IndexOf(T) : int
Documentation for this section has not yet been entered.
Insert(int, T)
Documentation for this section has not yet been entered.
Remove(T) : bool
Documentation for this section has not yet been entered.
RemoveAt(int)

Removes the System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1 item at the specified index.

Reverse()

Reverses the order of the elements in the entire System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1.

Reverse(int, int)

Reverses the order of the elements in the specified range.

ToArray() : T[]

Copies the elements of the System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1 to a new array.

ToReadOnlyCollection() : System.Collections.ObjectModel.ReadOnlyCollection<T>

Creates a System.Collections.ObjectModel.ReadOnlyCollection`1 containing all of the elements of the System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1, avoiding copying the elements to the new array if possible. Resets the System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1 after the System.Collections.ObjectModel.ReadOnlyCollection`1 has been created.

Explicitly Implemented Interface Members

IList.Add

Adds an item to the IList.

IList.Contains

Determines whether the IList contains a specific value.

ICollection.CopyTo

Copies the elements of the ICollection`1 to an array, starting at the specified array index.

IEnumerable.GetEnumerator

Returns an enumerator that iterates through the collection.

IList.IndexOf

Determines the index of a specific item in the IList.

IList.Insert

Inserts an item to the IList at the specified index.

[read-only]
IList.IsFixedSizebool.

Gets a value indicating whether the IList has a fixed size.

[read-only]
ICollection<T>.IsReadOnlybool. Documentation for this section has not yet been entered.
[read-only]
IList.IsReadOnlybool.

Gets a value indicating whether the IList is read-only.

[read-only]
ICollection.IsSynchronizedbool.

Gets a value indicating whether access to the ICollection is synchronized (thread safe).

IList.Itemobject. Documentation for this section has not yet been entered.
IList.Remove

Removes the first occurrence of a specific object from the IList.

[read-only]
ICollection.SyncRootobject.

Gets an object that can be used to synchronize access to the ICollection.