This class implements IEnumerable<T> to adapt a non-generic IEnumerable to work with a specified type T by casting the elements of the source enumeration to type T.
More...
|
| | EnumerableAdapter (IEnumerable source) |
| | EnumerableAdapter Constructor. Initializes a new EnumerableAdapter with a specified non-generic source enumeration.
|
| IEnumerator< T > | GetEnumerator () |
| | Returns an enumerator that iterates through the collection, converting each element to the target generic type T.
|
|
|
IEnumerable | Source [get] |
| | The non-generic source enumeration that will be adapted to IEnumerable<T>.
|
This class implements IEnumerable<T> to adapt a non-generic IEnumerable to work with a specified type T by casting the elements of the source enumeration to type T.
◆ EnumerableAdapter()
| Buzzware.Cascade.EnumerableAdapter< T >.EnumerableAdapter |
( |
IEnumerable | source | ) |
|
|
inline |
EnumerableAdapter Constructor. Initializes a new EnumerableAdapter with a specified non-generic source enumeration.
- Parameters
-
| source | The non-generic IEnumerable source to be adapted. |
◆ GetEnumerator()
| IEnumerator< T > Buzzware.Cascade.EnumerableAdapter< T >.GetEnumerator |
( |
| ) |
|
|
inline |
Returns an enumerator that iterates through the collection, converting each element to the target generic type T.
- Returns
- An IEnumerator of type T to iterate through the collection.
The documentation for this class was generated from the following file:
- Buzzware.Cascade/utilities/EnumerableAdapter.cs