C# Class YamlDotNet.Core.Version

Specifies the version of the YAML language.
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.

Version ( int major, int minor ) : System

Initializes a new instance of the Version 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

Version() public method

Initializes a new instance of the Version class.
public Version ( int major, int minor ) : System
major int The the major version number.
minor int The the minor version number.
return System