C# Class YamlDotNet.Core.Version

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

Version ( int major, int minor ) : System

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

Version() public méthode

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