Class FixedNextStrategy
- Namespace
- FEFF.TestFixtures.AspNetCore.Randomness
- Assembly
- FEFF.TestFixtures.AspNetCore.dll
Factory methods for creating FixedNextStrategy<T> instances.
public static class FixedNextStrategy
- Inheritance
-
FixedNextStrategy
- Inherited Members
Methods
From<T>(T)
Creates a new FixedNextStrategy<T> that always returns the specified value.
public static FixedNextStrategy<T> From<T>(T value)
Parameters
valueTThe constant value to return.
Returns
- FixedNextStrategy<T>
A new FixedNextStrategy<T>.
Type Parameters
TThe type of the constant value.