YamlDotNet.Core : YamlDotNet.Core Namespace

Version Class

Specifies the version of the YAML language.

public class Version

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326

Members

See Also: Inherited members from object.

Public Constructors

Initializes a new instance of the YamlDotNet.Core.Version class.

Public Properties

[read-only]
Major int . Gets the major version number.
[read-only]
Minor int . Gets the minor version number.

Public Methods

override
Equals (object) : bool
Determines whether the specified System.Object is equal to the current System.Object.
override
GetHashCode () : int
Serves as a hash function for a particular type.

Member Details

Version Constructor

Initializes a new instance of the YamlDotNet.Core.Version class.

public Version (int major, int minor)

Parameters

major
The the major version number.
minor
The the minor version number.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326

Equals Method

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

public override bool Equals (object obj)

Parameters

obj
The System.Object to compare with the current System.Object.

Returns

true if the specified System.Object is equal to the current System.Object; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326

GetHashCode Method

Serves as a hash function for a particular type.

public override int GetHashCode ()

Returns

A hash code for the current object.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326

Major Property

Gets the major version number.

public int Major { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326

Minor Property

Gets the minor version number.

public int Minor { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: YamlDotNet.Core
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326