C# Class YamlDotNet.RepresentationModel.YamlDocument

Represents an YAML document.
Afficher le fichier Open project: aaubry/YamlDotNet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

YamlDocument() public méthode

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

YamlDocument() public méthode

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