Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

ReadOnlyCollectionBase<(Of <(<'T>)>)> Members

The ReadOnlyCollectionBase<(Of <(<'T>)>)> type exposes the following members.

Methods


  Name Description
Public method Contains
Determines if the collection contains a particular item. This default implementation iterates all of the items in the collection via GetEnumerator, testing each item against item using IComparable<T>.Equals or Object.Equals.
Public method ConvertAll<(Of <<'(TOutput>)>>)
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.
Public method CopyTo
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.
Public method CountWhere
Counts the number of items in the collection that satisfy the condition defined by predicate.
Public method Exists
Determines if the collection contains any item that satisfies the condition defined by predicate.
Public method FindAll
Enumerates the items in the collection that satisfy the condition defined by predicate.
Public method ForEach
Performs the specified action on each item in this collection.
Public method GetEnumerator
Must be overridden to enumerate all the members of the collection.
Public method ToArray
Creates an array of the correct size, and copies all the items in the collection into the array, by calling CopyTo.
Public method ToString
Shows the string representation of the collection. The string representation contains a list of the items in the collection.
Public method TrueForAll
Determines if all of the items in the collection satisfy the condition defined by predicate.

Properties


  Name Description
Public property Count
Must be overridden to provide the number of items in the collection.