ReadOnlyListBaseT Methods |
The ReadOnlyListBaseT generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Contains |
Determines if the list contains any item that compares equal to item.
The implementation simply checks whether IndexOf(item) returns a non-negative value.
(Overrides ReadOnlyCollectionBaseTContains(T).) |
![]() | ConvertAllTOutput |
Convert this collection of items by applying a delegate to each item in the collection. The resulting enumeration
contains the result of applying converter to each item in this collection, in
order.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | CopyTo(T) |
Copies all the items in the list, in order, to array,
starting at index 0.
|
![]() | CopyTo(T, Int32) |
Copies all the items in the collection into an array. Implemented by
using the enumerator returned from GetEnumerator to get all the items
and copy them to the provided array.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | CopyTo(Int32, T, Int32, Int32) |
Copies a range of elements from the list to array,
starting at arrayIndex.
|
![]() | CountWhere |
Counts the number of items in the collection that satisfy the condition
defined by predicate.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | Equals | (Inherited from Object.) |
![]() | Exists |
Determines if the collection contains any item that satisfies the condition
defined by predicate.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | Finalize | (Inherited from Object.) |
![]() | Find |
Finds the first item in the list that satisfies the condition
defined by predicate. If no item matches the condition, than
the default value for T (null or all-zero) is returned.
|
![]() | FindAll |
Enumerates the items in the collection that satisfy the condition defined
by predicate.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | FindIndex(PredicateT) |
Finds the index of the first item in the list that satisfies the condition
defined by predicate. If no item matches the condition, -1 is returned.
|
![]() | FindIndex(Int32, PredicateT) |
Finds the index of the first item, in the range of items extending from index to the end, that satisfies the condition
defined by predicate. If no item matches the condition, -1 is returned.
|
![]() | FindIndex(Int32, Int32, PredicateT) |
Finds the index of the first item, in the range of count items starting from index, that satisfies the condition
defined by predicate. If no item matches the condition, -1 is returned.
|
![]() | FindLast |
Finds the last item in the list that satisfies the condition
defined by predicate. If no item matches the condition, than
the default value for T (null or all-zero) is returned.
|
![]() | FindLastIndex(PredicateT) |
Finds the index of the last item in the list that satisfies the condition
defined by predicate. If no item matches the condition, -1 is returned.
|
![]() | FindLastIndex(Int32, PredicateT) |
Finds the index of the last item, in the range of items extending from the beginning
of the list to index, that satisfies the condition
defined by predicate. If no item matches the condition, -1 is returned.
|
![]() | FindLastIndex(Int32, Int32, PredicateT) |
Finds the index of the last item, in the range of count items ending at index, that satisfies the condition
defined by predicate. If no item matches the condition, -1 is returned.
|
![]() | ForEach |
Performs the specified action on each item in this collection.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | GetEnumerator |
Enumerates all of the items in the list, in order. The item at index 0
is enumerated first, then the item at index 1, and so on.
(Overrides ReadOnlyCollectionBaseTGetEnumerator.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | IndexOf(T) |
Finds the index of the first item in the list that is equal to item.
|
![]() | IndexOf(T, Int32) |
Finds the index of the first item, in the range of items extending from index to the end,
that is equal to item.
|
![]() | IndexOf(T, Int32, Int32) |
Finds the index of the first item, in the range of count items starting from index,
that is equal to item.
|
![]() | LastIndexOf(T) |
Finds the index of the last item in the list that is equal to item.
|
![]() | LastIndexOf(T, Int32) |
Finds the index of the last item, in the range of items extending from the beginning
of the list to index, that is equal to item.
|
![]() | LastIndexOf(T, Int32, Int32) |
Finds the index of the last item, in the range of count items ending at index,
that is equal to item.
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Range |
Returns a view onto a sub-range of this list. Items are not copied; the
returned IList<T> is simply a different view onto the same underlying items.
|
![]() | ToArray |
Creates an array of the correct size, and copies all the items in the
collection into the array, by calling CopyTo.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | ToString |
Shows the string representation of the collection. The string representation contains
a list of the items in the collection.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | TrueForAll |
Determines if all of the items in the collection satisfy the condition
defined by predicate.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | TryFind |
Finds the first item in the list that satisfies the condition
defined by predicate.
|
![]() | TryFindLast |
Finds the last item in the list that satisfies the condition
defined by predicate.
|