Interface IRandomFactory
Factory for creating random class. This factory let us able to inject random class into other class. So that we can mock the random class for unit test.
Namespace: Yarp.ReverseProxy.Utilities
Assembly: Yarp.ReverseProxy.dll
Syntax
public interface IRandomFactory
Methods
| Improve this Doc View SourceCreateRandomInstance()
Create a instance of random class.
Declaration
Random CreateRandomInstance()
Returns
Type | Description |
---|---|
Random |