Wraps an object which would be an acceptable enumerable in a foreach (due to .NET compile-time duck-typing) into an actual IEnumerator.
More...
|
bool | IsValid [get] |
| Flag: communicates if the wrapping was successful. Unsuccessful wraps will result in empty enumerations.
|
Wraps an object which would be an acceptable enumerable in a foreach (due to .NET compile-time duck-typing) into an actual IEnumerator.
◆ EnumerableWrapper()
PeanutButter.Utils.EnumerableWrapper.EnumerableWrapper |
( |
object | toWrap | ) |
|
◆ MakeEnumerator< T >()
IEnumerator< T > PeanutButter.Utils.EnumerableWrapper.MakeEnumerator< T > |
( |
| ) |
|
|
protected |
Creates the enumerator.
- Template Parameters
-
- Returns
◆ IsValid
bool PeanutButter.Utils.EnumerableWrapper.IsValid |
|
get |
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/EnumerableWrapper.cs