Méthode | Description | |
---|---|---|
Count ( IEnumerable collection ) : int |
Gets the total number of items within the given collection.
|
|
DisposeAndClear ( |
Clears the collection, disposing of all disposable children.
|
|
Filter ( IEnumerable collection, FuncBool predicate ) : |
Constructs a subset of the collection based on the response of an include-filter.
|
|
First ( IEnumerable collection, FuncBool predicate ) : object |
Retrieves the first item that matches the given filter (or null if there is no match).
|
|
Last ( IEnumerable collection ) : object |
Retrieves the last item in the given collection (or null if there are no items).
|
|
ToArrayList ( IEnumerable collection ) : |
Converts an enumerable to an ArrayList.
|
|
Total ( IEnumerable collection, FuncBool predicate ) : int |
Gets the total number of items that match the given predicate.
|
public Count ( IEnumerable collection ) : int | ||
collection | IEnumerable | The collection to count. |
Résultat | int |
public DisposeAndClear ( |
||
collection | The collection to clear and dispose. | |
Résultat | void |
public Filter ( IEnumerable collection, FuncBool predicate ) : |
||
collection | IEnumerable | The collection to filter. |
predicate | FuncBool | The predicate to match. |
Résultat |
public First ( IEnumerable collection, FuncBool predicate ) : object | ||
collection | IEnumerable | The collection to examine. |
predicate | FuncBool | The predicate to match. |
Résultat | object |
public Last ( IEnumerable collection ) : object | ||
collection | IEnumerable | The collection to examine. |
Résultat | object |
public ToArrayList ( IEnumerable collection ) : |
||
collection | IEnumerable | The collection to convert. |
Résultat |
public Total ( IEnumerable collection, FuncBool predicate ) : int | ||
collection | IEnumerable | The collection to examine. |
predicate | FuncBool | The predicate to match. |
Résultat | int |