C# Class YamlDotNet.Core.Tokens.VersionDirective

Inheritance: Token
Afficher le fichier Open project: aaubry/YamlDotNet Class Usage Examples

Méthodes publiques

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

Method Details

Equals() public méthode

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

GetHashCode() public méthode

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Résultat int

VersionDirective() public méthode

Initializes a new instance of the VersionDirective class.
public VersionDirective ( System.Version version ) : System
version System.Version The version.
Résultat System

VersionDirective() public méthode

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