Table of Contents

Interface IRandomFactory

Namespace
Yarp.ReverseProxy.Utilities
Assembly
Yarp.ReverseProxy.dll

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.

public interface IRandomFactory

Methods

CreateRandomInstance()

Create a instance of random class.

Random CreateRandomInstance()

Returns

Random