C# 클래스 Crisis.CommandLine.QuotationInfo

Represents information about the escapable characters within a quoted value.
파일 보기 프로젝트 열기: teeknofil/Crisis-Wordlist-Generator 1 사용 예제들

공개 메소드들

메소드 설명
AddEscapeCode ( char code, char replacement ) : void

Adds the escape code to this quotation.

Equals ( object obj ) : bool

Determines whether the specified is equal to the current .

EscapeCharacter ( char code ) : char

Escapes the escape code character specified.

GetHashCode ( ) : int

Serves as a hash function for a particular type. is suitable for use in hashing algorithms and data structures like a hash table.

IsEscapeCode ( char code ) : bool

Determines whether the specified character is an escape code within this quotation.

QuotationInfo ( char quotationMark ) : System

Initializes a new instance of the QuotationInfo class.

RemoveEscapeCode ( char code ) : void

Removes an escape code from this quotation.

메소드 상세

AddEscapeCode() 공개 메소드

Adds the escape code to this quotation.
public AddEscapeCode ( char code, char replacement ) : void
code char The code, i.e. the character that will be used after the escape /// character to denote this escape sequence.
replacement char The character with which the escape sequence will be replaced.
리턴 void

Equals() 공개 메소드

Determines whether the specified is equal to the current .
public Equals ( object obj ) : bool
obj object The to compare with the current .
리턴 bool

EscapeCharacter() 공개 메소드

Escapes the escape code character specified.
public EscapeCharacter ( char code ) : char
code char The code.
리턴 char

GetHashCode() 공개 메소드

Serves as a hash function for a particular type. is suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
리턴 int

IsEscapeCode() 공개 메소드

Determines whether the specified character is an escape code within this quotation.
public IsEscapeCode ( char code ) : bool
code char The code.
리턴 bool

QuotationInfo() 공개 메소드

Initializes a new instance of the QuotationInfo class.
public QuotationInfo ( char quotationMark ) : System
quotationMark char The quotation mark used for this quotation.
리턴 System

RemoveEscapeCode() 공개 메소드

Removes an escape code from this quotation.
public RemoveEscapeCode ( char code ) : void
code char The code to remove.
리턴 void