C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

PrintOutputs() публичный Метод

Output user input to console with correct culture output strings.
public PrintOutputs ( ) : void
Результат void

Run() публичный Метод

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
Результат void

ShowAge() публичный Метод

Prompts the user for their age.
public ShowAge ( int lb, int ub ) : void
lb int
ub int
Результат void

ShowDegrees() публичный Метод

Prompts the user for the temperature.
public ShowDegrees ( ) : void
Результат void

ShowDistance() публичный Метод

Prompts the user for the distance to work.
public ShowDistance ( ) : void
Результат void

ShowName() публичный Метод

Prompts the user for their name.
public ShowName ( ) : void
Результат void

ShowPrompt() публичный Метод

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
Результат void