Provides the .Randomize extension for objects.
More...
|
static T | Randomized< T > (this T data) |
| Randomizes properties on the object.
|
Provides the .Randomize extension for objects.
◆ Randomized< T >()
T PeanutButter.RandomGenerators.ObjectExtensions.Randomized< T > |
( |
this T | data | ) |
|
|
static |
Randomizes properties on the object.
- think of it a bit like GetRandom<T> but acting on an existing object. In fact, where possible, we'll use GetRandom<T>!
- Parameters
-
- Template Parameters
-
- Returns
The documentation for this class was generated from the following file:
- source/TestUtils/PeanutButter.RandomGenerators/ObjectExtensions.cs