YamlDotNet.Core : YamlDotNet.Core.Tokens Namespace

TagDirective Class

Represents a tag directive token.

public class TagDirective : 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]
Handle string . Gets the handle.
[read-only]
Prefix string . Gets the prefix.

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.
override
ToString () : string

Member Details

TagDirective Constructor

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

public TagDirective (string handle, string prefix)

Parameters

handle
The handle.
prefix
The prefix.

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

TagDirective Constructor

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

public TagDirective (string handle, string prefix, YamlDotNet.Core.Mark start, YamlDotNet.Core.Mark end)

Parameters

handle
The handle.
prefix
The prefix.
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

Handle Property

Gets the handle.

public string Handle { get; }

Value

The handle.

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

Prefix Property

Gets the prefix.

public string Prefix { get; }

Value

The prefix.

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

ToString Method

public override string ToString ()

Returns

Documentation for this section has not yet been entered.

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