C# Class YamlDotNet.Core.Tokens.VersionDirective

Inheritance: Token
Mostra file Open project: aaubry/YamlDotNet Class Usage Examples

Public Methods

Method 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 method

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.
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int

VersionDirective() public method

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

VersionDirective() public method

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.
return System