C# Класс SmtpServer.Protocol.Text.Token

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
None Token

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Token ( TokenKind kind ) : System

Constructor.

Описание методов

Equals() публичный Метод

Indicates whether this instance and a specified object are equal.
public Equals ( Token other ) : bool
other Token Another object to compare to.
Результат bool

Equals() публичный Метод

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object Another object to compare to.
Результат bool

GetHashCode() публичный Метод

Returns the hash code for this instance.
public GetHashCode ( ) : int
Результат int

ToString() публичный Метод

Returns the string representation of the token.
public ToString ( ) : string
Результат string

Token() публичный Метод

Constructor.
public Token ( TokenKind kind, char ch ) : System
kind TokenKind The token kind.
ch char The character to create the token from.
Результат System

Token() публичный Метод

Constructor.
public Token ( TokenKind kind, string text ) : System
kind TokenKind The token kind.
text string The token text.
Результат System

operator() публичный статический Метод

Returns a value indicating the equality of the two objects.
public static operator ( ) : bool
Результат bool

Описание свойств

None публичное статическое свойство

Represents no token.
public static Token,SmtpServer.Protocol.Text None
Результат Token