Contains extensions for IEnumerable<T>.
More...
|
static IEnumerable< T > | Do< T > (this IEnumerable< T > items, Action< T > action) |
|
static IEnumerable< T > | ConfigureInteractor< T > (this IEnumerable< T > interactors, Action< T > action) |
| Configures a sequence of interactors of type T with the specified action. More...
|
|
static IEnumerable< T > | ConfigureBehavior< T > (this IEnumerable< T > behaviors, Action< T > action) |
| Configures a sequence of behaviors of type T with the specified action. More...
|
|
static T | ConfigureInteractor< T > (this T interactor, Action< T > action) |
| Configures an interactor of type T with the specified action. More...
|
|
static T | ConfigureBehavior< T > (this T behavior, Action< T > action) |
| Configures a behavior of type T with the specified action. More...
|
|
static IEnumerable< U > | Scan< T, U > (this IEnumerable< T > input, U state, Func< U, T, U > next) |
|
Contains extensions for IEnumerable<T>.
◆ Do< T >()
static IEnumerable<T> Do< T > |
( |
this IEnumerable< T > |
items, |
|
|
Action< T > |
action |
|
) |
| |
|
inlinestatic |
◆ ConfigureInteractor< T >() [1/2]
static IEnumerable<T> ConfigureInteractor< T > |
( |
this IEnumerable< T > |
interactors, |
|
|
Action< T > |
action |
|
) |
| |
|
inlinestatic |
Configures a sequence of interactors of type T with the specified action.
- Template Parameters
-
- Parameters
-
interactors | The interactors. |
action | The configuration action. |
- Returns
- The same IEnumerable<T> instance so that multiple calls can be chained.
◆ ConfigureBehavior< T >() [1/2]
static IEnumerable<T> ConfigureBehavior< T > |
( |
this IEnumerable< T > |
behaviors, |
|
|
Action< T > |
action |
|
) |
| |
|
inlinestatic |
Configures a sequence of behaviors of type T with the specified action.
- Template Parameters
-
- Parameters
-
behaviors | The behaviors. |
action | The configuration action. |
- Returns
- The same IEnumerable<T> instance so that multiple calls can be chained.
◆ ConfigureInteractor< T >() [2/2]
static T ConfigureInteractor< T > |
( |
this T |
interactor, |
|
|
Action< T > |
action |
|
) |
| |
|
inlinestatic |
Configures an interactor of type T with the specified action.
- Template Parameters
-
- Parameters
-
interactor | The interactor. |
action | The configuration action. |
- Returns
- The same T instance so that multiple calls can be chained.
◆ ConfigureBehavior< T >() [2/2]
static T ConfigureBehavior< T > |
( |
this T |
behavior, |
|
|
Action< T > |
action |
|
) |
| |
|
inlinestatic |
Configures a behavior of type T with the specified action.
- Template Parameters
-
- Parameters
-
behavior | The behavior. |
action | The configuration action. |
- Returns
- The same T instance so that multiple calls can be chained.
◆ Scan< T, U >()
static IEnumerable<U> Scan< T, U > |
( |
this IEnumerable< T > |
input, |
|
|
U |
state, |
|
|
Func< U, T, U > |
next |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: