C# Class YamlDotNet.RepresentationModel.YamlDocument

Represents an YAML document.
Mostra 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.

YamlDocument ( YamlNode rootNode ) : System

Initializes a new instance of the YamlDocument class.

YamlDocument ( string rootNode ) : System

Initializes a new instance of the YamlDocument class with a single scalar node.

Private Methods

Method Description
AssignAnchors ( ) : void
Save ( IEmitter emitter, bool assignAnchors = true ) : void
YamlDocument ( IParser parser ) : System

Initializes a new instance of the YamlDocument 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

YamlDocument() public method

Initializes a new instance of the YamlDocument class.
public YamlDocument ( YamlNode rootNode ) : System
rootNode YamlNode
return System

YamlDocument() public method

Initializes a new instance of the YamlDocument class with a single scalar node.
public YamlDocument ( string rootNode ) : System
rootNode string
return System