C# Class SmtpServer.Protocol.Text.Token

Afficher le fichier Open project: cosullivan/SmtpServer Class Usage Examples

Méthodes publiques

Свойство Type Description
None Token

Méthodes publiques

Méthode Description
Equals ( Token other ) : bool

Indicates whether this instance and a specified object are equal.

Equals ( object obj ) : bool

Indicates whether this instance and a specified object are equal.

GetHashCode ( ) : int

Returns the hash code for this instance.

ToString ( ) : string

Returns the string representation of the token.

Token ( TokenKind kind, char ch ) : System

Constructor.

Token ( TokenKind kind, string text ) : System

Constructor.

operator ( ) : bool

Returns a value indicating the equality of the two objects.

Private Methods

Méthode Description
Token ( TokenKind kind ) : System

Constructor.

Method Details

Equals() public méthode

Indicates whether this instance and a specified object are equal.
public Equals ( Token other ) : bool
other Token Another object to compare to.
Résultat bool

Equals() public méthode

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object Another object to compare to.
Résultat bool

GetHashCode() public méthode

Returns the hash code for this instance.
public GetHashCode ( ) : int
Résultat int

ToString() public méthode

Returns the string representation of the token.
public ToString ( ) : string
Résultat string

Token() public méthode

Constructor.
public Token ( TokenKind kind, char ch ) : System
kind TokenKind The token kind.
ch char The character to create the token from.
Résultat System

Token() public méthode

Constructor.
public Token ( TokenKind kind, string text ) : System
kind TokenKind The token kind.
text string The token text.
Résultat System

operator() public static méthode

Returns a value indicating the equality of the two objects.
public static operator ( ) : bool
Résultat bool

Property Details

None public_oe static_oe property

Represents no token.
public static Token,SmtpServer.Protocol.Text None
Résultat Token