IRandomFactory Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
type IRandomFactory = interface
Public Interface IRandomFactory
Methods
| Name | Description |
|---|---|
| CreateRandomInstance() |
Create a instance of random class. |