C# Class YamlDotNet.Core.Tokens.TagDirective

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

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 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

TagDirective() public méthode

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

TagDirective() public méthode

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

ToString() public méthode

public ToString ( ) : string
Résultat string