C# Class SampleDataLibrary.Sample

Datei anzeigen Open project: freddie2025/WeeklyChallenge

Public Methods

Method Description
GenerateRandomBool ( ) : bool
GenerateRandomDouble ( double floor, double ceiling = 100 ) : double
GenerateRandomFirstName ( ) : string
GenerateRandomFullName ( ) : string
GenerateRandomInt ( int floor, int ceiling = 100 ) : int
GenerateRandomLastName ( ) : string
GenerateRandomNumberMatch ( string pattern ) : string
GenerateRandomPhoneNumber ( ) : string
GenerateRandomZipCode ( ) : string
Sample ( ) : System

Method Details

GenerateRandomBool() public method

public GenerateRandomBool ( ) : bool
return bool

GenerateRandomDouble() public method

public GenerateRandomDouble ( double floor, double ceiling = 100 ) : double
floor double
ceiling double
return double

GenerateRandomFirstName() public method

public GenerateRandomFirstName ( ) : string
return string

GenerateRandomFullName() public method

public GenerateRandomFullName ( ) : string
return string

GenerateRandomInt() public method

public GenerateRandomInt ( int floor, int ceiling = 100 ) : int
floor int
ceiling int
return int

GenerateRandomLastName() public method

public GenerateRandomLastName ( ) : string
return string

GenerateRandomNumberMatch() public method

public GenerateRandomNumberMatch ( string pattern ) : string
pattern string
return string

GenerateRandomPhoneNumber() public method

public GenerateRandomPhoneNumber ( ) : string
return string

GenerateRandomZipCode() public method

public GenerateRandomZipCode ( ) : string
return string

Sample() public method

public Sample ( ) : System
return System