C# 클래스 CommandLine.Text.CopyrightInfo

Models the copyright part of an help text. You can assign it where you assign any System.String instance.
파일 보기 프로젝트 열기: ErikEJ/SqlQueryStress 1 사용 예제들

공개 메소드들

메소드 설명
CopyrightInfo ( bool isSymbolUpper, string author ) : System.Globalization

Initializes a new instance of the CommandLine.Text.CopyrightInfo class specifying symbol case, author and years.

CopyrightInfo ( string author ) : System.Globalization

Initializes a new instance of the CommandLine.Text.CopyrightInfo class specifying author and years.

CopyrightInfo ( string author, int year ) : System.Globalization

Initializes a new instance of the CommandLine.Text.CopyrightInfo class specifying author and year.

ToString ( ) : string

Returns the copyright informations as a System.String.

보호된 메소드들

메소드 설명
CopyrightInfo ( ) : System.Globalization

Initializes a new instance of the CommandLine.Text.CopyrightInfo class.

FormatYears ( int years ) : string

When overridden in a derived class, allows to specify a new algorithm to render copyright years as a System.String instance.

메소드 상세

CopyrightInfo() 보호된 메소드

Initializes a new instance of the CommandLine.Text.CopyrightInfo class.
protected CopyrightInfo ( ) : System.Globalization
리턴 System.Globalization

CopyrightInfo() 공개 메소드

Initializes a new instance of the CommandLine.Text.CopyrightInfo class specifying symbol case, author and years.
Thrown when parameter is null or empty string. Thrown when parameter is not supplied.
public CopyrightInfo ( bool isSymbolUpper, string author ) : System.Globalization
isSymbolUpper bool The case of the copyright symbol.
author string The company or person holding the copyright.
리턴 System.Globalization

CopyrightInfo() 공개 메소드

Initializes a new instance of the CommandLine.Text.CopyrightInfo class specifying author and years.
Thrown when parameter is null or empty string. Thrown when parameter is not supplied.
public CopyrightInfo ( string author ) : System.Globalization
author string The company or person holding the copyright.
리턴 System.Globalization

CopyrightInfo() 공개 메소드

Initializes a new instance of the CommandLine.Text.CopyrightInfo class specifying author and year.
Thrown when parameter is null or empty string.
public CopyrightInfo ( string author, int year ) : System.Globalization
author string The company or person holding the copyright.
year int The year of coverage of copyright.
리턴 System.Globalization

FormatYears() 보호된 메소드

When overridden in a derived class, allows to specify a new algorithm to render copyright years as a System.String instance.
protected FormatYears ( int years ) : string
years int A array of years.
리턴 string

ToString() 공개 메소드

Returns the copyright informations as a System.String.
public ToString ( ) : string
리턴 string