Add fluency anywhere - as if all things were buildable!
More...
|
static T | With< T > (this T subject, Action< T > mutator) |
| Add fluency for any object - all things can be builders now.
|
static IList< T > | WithAll< T > (this IList< T > subject, Action< T > mutator) |
| Apply a transform to every object in a collection.
|
static IEnumerable< T > | WithAll< T > (this IEnumerable< T > subject, Action< T > mutator) |
| Apply a transform to every object in a collection.
|
static T[] | WithAll< T > (this T[] subject, Action< T > mutator) |
| Apply a transform to every object in an array.
|
Add fluency anywhere - as if all things were buildable!
◆ With< T >()
T PeanutButter.Utils.FluencyExtensions.With< T > |
( |
this T | subject, |
|
|
Action< T > | mutator ) |
|
static |
Add fluency for any object - all things can be builders now.
- Parameters
-
- Template Parameters
-
- Returns
◆ WithAll< T >() [1/3]
IEnumerable< T > PeanutButter.Utils.FluencyExtensions.WithAll< T > |
( |
this IEnumerable< T > | subject, |
|
|
Action< T > | mutator ) |
|
static |
Apply a transform to every object in a collection.
- Parameters
-
- Template Parameters
-
- Returns
◆ WithAll< T >() [2/3]
IList< T > PeanutButter.Utils.FluencyExtensions.WithAll< T > |
( |
this IList< T > | subject, |
|
|
Action< T > | mutator ) |
|
static |
Apply a transform to every object in a collection.
- Parameters
-
- Template Parameters
-
- Returns
◆ WithAll< T >() [3/3]
T[] PeanutButter.Utils.FluencyExtensions.WithAll< T > |
( |
this T[] | subject, |
|
|
Action< T > | mutator ) |
|
static |
Apply a transform to every object in an array.
- Parameters
-
- Template Parameters
-
- Returns
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/FluencyExtensions.cs