EnumerableExtension Class |
Namespace: TB.ComponentModel
public static class EnumerableExtension
The EnumerableExtension type exposes the following members.
Name | Description | |
---|---|---|
ToCollectionT |
Creates a Collection{T} from an IEnumerable{T}.
| |
ToDataTableT(IEnumerableT, CultureInfo) |
Creates a DataTable from an IEnumerable{T}.
Each element of the given source results in a row representing the properties of {T} as columns.
If conversion is needed, the default converter is used.
ToString is used for types which are not valid for a DataColumn of a DataTable.
| |
ToDataTableT(IEnumerableT, IncompatibleDataColumnTypeHandling, CultureInfo) |
Creates a DataTable from an IEnumerable{T}.
Each element of the given source results in a row representing the properties of {T} as columns.
If conversion is needed, the default converter is used.
| |
ToEnumerable(IEnumerable, Type, CultureInfo) |
Returns an iterator over the results of converting the given values to the given type.
The conversion is configurable further more before iteration.
| |
ToEnumerableT(IEnumerable, CultureInfo) |
Returns an iterator over the results of converting the given values to the given type.
The conversion is configurable further more before iteration.
|