C# Class SmtpServer.Protocol.Text.Token

Datei anzeigen Open project: cosullivan/SmtpServer Class Usage Examples

Public Properties

Property Type Description
None Token

Public Methods

Method 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

Method Description
Token ( TokenKind kind ) : System

Constructor.

Method Details

Equals() public method

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

Equals() public method

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

GetHashCode() public method

Returns the hash code for this instance.
public GetHashCode ( ) : int
return int

ToString() public method

Returns the string representation of the token.
public ToString ( ) : string
return string

Token() public method

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

Token() public method

Constructor.
public Token ( TokenKind kind, string text ) : System
kind TokenKind The token kind.
text string The token text.
return System

operator() public static method

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

Property Details

None public_oe static_oe property

Represents no token.
public static Token,SmtpServer.Protocol.Text None
return Token