C# Class Crisis.CommandLine.QuotationInfo

Represents information about the escapable characters within a quoted value.
Afficher le fichier Open project: teeknofil/Crisis-Wordlist-Generator Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AddEscapeCode() public méthode

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.
Résultat void

Equals() public méthode

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

EscapeCharacter() public méthode

Escapes the escape code character specified.
public EscapeCharacter ( char code ) : char
code char The code.
Résultat char

GetHashCode() public méthode

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
Résultat int

IsEscapeCode() public méthode

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

QuotationInfo() public méthode

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

RemoveEscapeCode() public méthode

Removes an escape code from this quotation.
public RemoveEscapeCode ( char code ) : void
code char The code to remove.
Résultat void