C# Класс YamlDotNet.Core.Tokens.VersionDirective

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

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

Метод Описание
Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to the current System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

VersionDirective ( System.Version version ) : System

Initializes a new instance of the VersionDirective class.

VersionDirective ( System.Version version, Mark start, Mark end ) : System

Initializes a new instance of the VersionDirective class.

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

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

Determines whether the specified System.Object is equal to the current System.Object.
public Equals ( object obj ) : bool
obj object The System.Object to compare with the current System.Object.
Результат bool

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

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Результат int

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

Initializes a new instance of the VersionDirective class.
public VersionDirective ( System.Version version ) : System
version System.Version The version.
Результат System

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

Initializes a new instance of the VersionDirective class.
public VersionDirective ( System.Version version, Mark start, Mark end ) : System
version System.Version The version.
start Mark The start position of the token.
end Mark The end position of the token.
Результат System