Click or drag to resize

CollectionT, TCollection Class

A collection of values.
Inheritance Hierarchy
SystemObject
  FM.IceLinkCollectionT, TCollection
    More...

Namespace:  FM.IceLink
Assembly:  FM.IceLink (in FM.IceLink.dll) Version: 3.2.2.607 (3.2.2.607)

The CollectionT, TCollection type exposes the following members.

Constructors
  NameDescription
Protected methodCollectionT, TCollection
Initializes a new instance of the CollectionT, TCollection class
Top
Properties
  NameDescription
Public propertyCount
Gets the count.
Public propertyValue
Gets or sets the value.
Public propertyValues
Gets or sets the values.
Top
Methods
  NameDescription
Public methodAdd
Adds a value.
Public methodAddMany
Adds some values.
Protected methodAddSuccess
Invoked when an element is added to the collection.
Public methodAny
Determined whether the collection contains at least one value.
Public methodAny(Function1T, Boolean)
Determined whether the collection contains at least one value that matches the specified predicate.
Protected methodArrayFromList
Creates an array from a list.
Public methodContains
Determines whether the collection contains a value.
Protected methodCreateCollection
Creates a collection.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFirst
Gets the first value. Throws an exception if there are no values in the collection.
Public methodFirst(Function1T, Boolean)
Gets the first value that matches the specified predicate. Throws an exception if there are no such values in the collection.
Public methodFirstOrDefault
Gets the first value. Returns a default value if there are no values in the collection.
Public methodFirstOrDefault(Function1T, Boolean)
Gets the first value that matches the specified predicate. Returns a default value if there are no such values in the collection.
Public methodForEach
Executes a callback function once per value.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLast
Gets the last value. Throws an exception if there are no values in the collection.
Public methodLast(Function1T, Boolean)
Gets the last value that matches the specified predicate. Throws an exception if there are no such values in the collection.
Public methodLastOrDefault
Gets the last value. Returns a default value if there are no values in the collection.
Public methodLastOrDefault(Function1T, Boolean)
Gets the last value that matches the specified predicate. Returns a default value if there are no such values in the collection.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove
Removes a value.
Public methodRemoveAll
Removes all values.
Public methodRemoveFirst
Removes the first value.
Public methodRemoveFirst(Function1T, Boolean)
Removes the first value that matches a given condition.
Public methodRemoveLast
Removes the last value.
Public methodRemoveLast(Function1T, Boolean)
Removes the last value that matches a given condition.
Public methodRemoveMany
Removes some values.
Protected methodRemoveSuccess
Invoked when an element is removed from the collection.
Public methodReplace
Replaces the collection with a new set of values.
Public methodSingle
Gets the only value. Throws an exception if there are no values or more than one value in the collection.
Public methodSingle(Function1T, Boolean)
Gets the only value that matches the specified predicate. Throws an exception if there are no values or more than one value in the collection.
Public methodSingleOrDefault
Gets the only value. Returns a default value if there are no values or more than one value in the collection.
Public methodSingleOrDefault(Function1T, Boolean)
Gets the only value that matches the specified predicate. Returns a default value if there are no values or more than one value in the collection.
Public methodToString (Inherited from Object.)
Public methodValueAt
Gets the value at the specified index. Throws an exception if a value does not exist at that index.
Public methodValueAtOrDefault
Gets the value at the specified index. Returns a default value if a value does not exist at that index.
Public methodWhere
Creates a new collection with values that match the specified predicate.
Top
See Also
Inheritance Hierarchy
SystemObject
  FM.IceLinkCollectionT, TCollection
    FM.IceLinkConnectionCollection
    FM.IceLinkDataChannelCollection
    FM.IceLinkIceServerCollection
    FM.IceLinkIMediaInputCollectionTIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaInputCollection
    FM.IceLinkIMediaOutputCollectionTIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaOutputCollection
    FM.IceLinkMediaBufferCollectionTBuffer, TBufferCollection, TFormat
    FM.IceLinkMediaFormatCollectionTFormat, TFormatCollection
    FM.IceLinkRemoteMediaCollection
    FM.IceLinkStreamCollection