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.
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
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