C# Class TheAirline.Models.General.Names

Mostra file Open project: TheAirlineProject/tap-desktop Class Usage Examples

Public Methods

Method Description
GetInstance ( ) : Names
GetRandomFirstName ( Country country ) : string
GetRandomLastName ( Country country ) : string

Private Methods

Method Description
GetRandomElement ( List list ) : string
Names ( ) : System
SetupNames ( ) : void

Method Details

GetInstance() public static method

public static GetInstance ( ) : Names
return Names

GetRandomFirstName() public method

public GetRandomFirstName ( Country country ) : string
country TheAirline.Models.General.Countries.Country
return string

GetRandomLastName() public method

public GetRandomLastName ( Country country ) : string
country TheAirline.Models.General.Countries.Country
return string