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.
Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method 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 method

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

Run() public method

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
return void

ShowAge() public method

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

ShowDegrees() public method

Prompts the user for the temperature.
public ShowDegrees ( ) : void
return void

ShowDistance() public method

Prompts the user for the distance to work.
public ShowDistance ( ) : void
return void

ShowName() public method

Prompts the user for their name.
public ShowName ( ) : void
return void

ShowPrompt() public method

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
return void