C# Class ToysStore.SampleDataGenerator.RandomDataGenerator

Inheritance: IRandomDataGenerator
ファイルを表示 Open project: nzhul/TelerikAcademy

Public Methods

Method Description
GetRandomNumber ( int min, int max ) : int
GetRandomString ( int length ) : string
GetRandomStringWithRandomLength ( int min, int max ) : string

Private Methods

Method Description
RandomDataGenerator ( ) : System

Method Details

GetRandomNumber() public method

public GetRandomNumber ( int min, int max ) : int
min int
max int
return int

GetRandomString() public method

public GetRandomString ( int length ) : string
length int
return string

GetRandomStringWithRandomLength() public method

public GetRandomStringWithRandomLength ( int min, int max ) : string
min int
max int
return string