YamlDotNet.Core : YamlDotNet.Core.Tokens Namespace

VersionDirective Class

Represents a version directive token.

public class VersionDirective : Token

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Members

See Also: Inherited members from Token.

Public Constructors

Public Properties

[read-only]
Version YamlDotNet.Core.Version . Gets the version.

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

VersionDirective Constructor

Initializes a new instance of the YamlDotNet.Core.Tokens.VersionDirective class.

public VersionDirective (YamlDotNet.Core.Version version)

Parameters

version
The version.

Remarks

Documentation for this section has not yet been entered.

Requirements

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

VersionDirective Constructor

Initializes a new instance of the YamlDotNet.Core.Tokens.VersionDirective class.

public VersionDirective (YamlDotNet.Core.Version version, YamlDotNet.Core.Mark start, YamlDotNet.Core.Mark end)

Parameters

version
The version.
start
The start position of the token.
end
The end position of the token.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: YamlDotNet.Core.Tokens
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.Tokens
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.Tokens
Assembly: YamlDotNet.Core (in YamlDotNet.Core.dll)
Assembly Versions: 0.2.3385.42326

Version Property

Gets the version.

public YamlDotNet.Core.Version Version { get; }

Value

The version.

Remarks

Documentation for this section has not yet been entered.

Requirements

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