CollectionT, TCollection Class |
Namespace: FM.IceLink
The CollectionT, TCollection type exposes the following members.
Name | Description | |
---|---|---|
CollectionT, TCollection | Initializes a new instance of the CollectionT, TCollection class |
Name | Description | |
---|---|---|
Count |
Gets the count.
| |
Value |
Gets or sets the value.
| |
Values |
Gets or sets the values.
|
Name | Description | |
---|---|---|
Add |
Adds a value.
| |
AddMany |
Adds some values.
| |
AddSuccess |
Invoked when an element is added to the collection.
| |
Any |
Determined whether the collection contains at least one value.
| |
Any(Function1T, Boolean) |
Determined whether the collection contains at least one value
that matches the specified predicate.
| |
ArrayFromList |
Creates an array from a list.
| |
Contains |
Determines whether the collection contains a value.
| |
CreateCollection |
Creates a collection.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
First |
Gets the first value.
Throws an exception if there are
no values in the collection.
| |
First(Function1T, Boolean) |
Gets the first value that matches
the specified predicate.
Throws an exception if there are
no such values in the collection.
| |
FirstOrDefault |
Gets the first value.
Returns a default value if there are
no values in the collection.
| |
FirstOrDefault(Function1T, Boolean) |
Gets the first value that matches
the specified predicate.
Returns a default value if there are
no such values in the collection.
| |
ForEach |
Executes a callback function once per value.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Last |
Gets the last value.
Throws an exception if there are
no values in the collection.
| |
Last(Function1T, Boolean) |
Gets the last value that matches
the specified predicate.
Throws an exception if there are
no such values in the collection.
| |
LastOrDefault |
Gets the last value.
Returns a default value if there are
no values in the collection.
| |
LastOrDefault(Function1T, Boolean) |
Gets the last value that matches
the specified predicate.
Returns a default value if there are
no such values in the collection.
| |
MemberwiseClone | (Inherited from Object.) | |
Remove |
Removes a value.
| |
RemoveAll |
Removes all values.
| |
RemoveFirst |
Removes the first value.
| |
RemoveFirst(Function1T, Boolean) |
Removes the first value that matches a given condition.
| |
RemoveLast |
Removes the last value.
| |
RemoveLast(Function1T, Boolean) |
Removes the last value that matches a given condition.
| |
RemoveMany |
Removes some values.
| |
RemoveSuccess |
Invoked when an element is removed from the collection.
| |
Replace |
Replaces the collection with a new set of values.
| |
Single |
Gets the only value.
Throws an exception if there are
no values or more than one value
in the collection.
| |
Single(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.
| |
SingleOrDefault |
Gets the only value.
Returns a default value if there are
no values or more than one value
in the collection.
| |
SingleOrDefault(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.
| |
ToString | (Inherited from Object.) | |
ValueAt |
Gets the value at the specified index.
Throws an exception if a value does
not exist at that index.
| |
ValueAtOrDefault |
Gets the value at the specified index.
Returns a default value if a value does
not exist at that index.
| |
Where |
Creates a new collection with values
that match the specified predicate.
|