C# Class YamlDotNet.RepresentationModel.YamlAliasNode

Represents an alias node in the YAML document.
Inheritance: YamlNode
Show file Open project: aaubry/YamlDotNet Class Usage Examples

Public Methods

Method Description
Accept ( IYamlVisitor visitor ) : void

Accepts the specified visitor by calling the appropriate Visit method on it.

Equals ( object obj ) : bool
GetHashCode ( ) : int

Serves as a hash function for a particular type.

Private Methods

Method Description
Emit ( IEmitter emitter, EmitterState state ) : void

Saves the current node to the specified emitter.

ResolveAliases ( DocumentLoadingState state ) : void

Resolves the aliases that could not be resolved when the node was created.

SafeAllNodes ( RecursionLevel level ) : IEnumerable

Recursively enumerates all the nodes from the document, starting on the current node, and throwing MaximumRecursionLevelReachedException if RecursionLevel.Maximum is reached.

ToString ( RecursionLevel level ) : string

Returns a System.String that represents this instance.

YamlAliasNode ( string anchor ) : System

Initializes a new instance of the YamlAliasNode class.

Method Details

Accept() public method

Accepts the specified visitor by calling the appropriate Visit method on it.
public Accept ( IYamlVisitor visitor ) : void
visitor IYamlVisitor /// A . ///
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int