C# Class UseResources, shared-source-cli-2.0

This class contains methods to allow the user to see the results of changing the current threads CultureInfo and the automatic loading of the correct satellite assembly.
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Méthode Description
PrintOutputs ( ) : void

Output user input to console with correct culture output strings.

Run ( ) : void

Gets user input and sets CultureInfo accordingly. Then outputs some text to demonstrate the text that is obtained from the satellite assemblies.

ShowAge ( int lb, int ub ) : void

Prompts the user for their age.

ShowDegrees ( ) : void

Prompts the user for the temperature.

ShowDistance ( ) : void

Prompts the user for the distance to work.

ShowName ( ) : void

Prompts the user for their name.

ShowPrompt ( string RetrieveString, Int32 lb, Int32 ub ) : void

Prompt the user for the culture to run under. Input from user must be between 1 and 3.

Method Details

PrintOutputs() public méthode

Output user input to console with correct culture output strings.
public PrintOutputs ( ) : void
Résultat void

Run() public méthode

Gets user input and sets CultureInfo accordingly. Then outputs some text to demonstrate the text that is obtained from the satellite assemblies.
public Run ( ) : void
Résultat void

ShowAge() public méthode

Prompts the user for their age.
public ShowAge ( int lb, int ub ) : void
lb int
ub int
Résultat void

ShowDegrees() public méthode

Prompts the user for the temperature.
public ShowDegrees ( ) : void
Résultat void

ShowDistance() public méthode

Prompts the user for the distance to work.
public ShowDistance ( ) : void
Résultat void

ShowName() public méthode

Prompts the user for their name.
public ShowName ( ) : void
Résultat void

ShowPrompt() public méthode

Prompt the user for the culture to run under. Input from user must be between 1 and 3.
public ShowPrompt ( string RetrieveString, Int32 lb, Int32 ub ) : void
RetrieveString string
lb System.Int32
ub System.Int32
Résultat void