C# Class YamlDotNet.Core.Tokens.TagDirective

Inheritance: Token
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.

TagDirective ( string handle, string prefix ) : System

Initializes a new instance of the TagDirective class.

TagDirective ( string handle, string prefix, Mark start, Mark end ) : System

Initializes a new instance of the TagDirective class.

ToString ( ) : string

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

TagDirective() public method

Initializes a new instance of the TagDirective class.
public TagDirective ( string handle, string prefix ) : System
handle string The handle.
prefix string The prefix.
return System

TagDirective() public method

Initializes a new instance of the TagDirective class.
public TagDirective ( string handle, string prefix, Mark start, Mark end ) : System
handle string The handle.
prefix string The prefix.
start System.Text.RegularExpressions.Mark The start position of the token.
end System.Text.RegularExpressions.Mark The end position of the token.
return System

ToString() public method

public ToString ( ) : string
return string