C# 클래스 WizardWrx.ASCIICharacterDisplayInfo

Instances of this class represent individual ASCII characters. Since the NUL character is defined, and occupies the first element, the numeric code that corresponds to a character maps directly to the corresponding element in this array.
파일 보기 프로젝트 열기: txwizard/WizardWrx_NET_API 1 사용 예제들

공개 메소드들

메소드 설명
DisplayCharacterInfo ( char pchr ) : string

Create a ASCIICharacterDisplayInfo instance to represent a specified ASCII character, and call its ToString method to return all three representations of it (Printable, Hexadecimal, and Decimal, in that order.

ToString ( ) : string

Override ToString to render all three defined formats and most other properties.

비공개 메소드들

메소드 설명
ASCIICharacterDisplayInfo ( ) : System

This constructor satisfies interfaces that require a default constructor. It is marked private because the assembly that owns all instances of this class uses one of the other two constructors.

ASCIICharacterDisplayInfo ( uint puintCode ) : System

Create an instance for a character for which the alternate display is undefined because it is either unnecessary or impractical.

ASCIICharacterDisplayInfo ( uint puintCode, char pchrCharacter, CharacterType penmCharacterType, CharacterSubtype penmCharacterSubtype, string pstrCHAR, string pstrDescription, string pstrHTMLName, string pstrAlternateText, string pstrComment ) : System

All instances of this class are created by calling this constructor.

CodeIsValid ( uint puintCode ) : bool

메소드 상세

DisplayCharacterInfo() 공개 정적인 메소드

Create a ASCIICharacterDisplayInfo instance to represent a specified ASCII character, and call its ToString method to return all three representations of it (Printable, Hexadecimal, and Decimal, in that order.
public static DisplayCharacterInfo ( char pchr ) : string
pchr char /// Specify the character for which to render the three representations. ///
리턴 string

ToString() 공개 메소드

Override ToString to render all three defined formats and most other properties.
public ToString ( ) : string
리턴 string