C# Class YamlDotNet.RepresentationModel.DocumentLoadingState

Manages the state of a YamlDocument while it is loading.
Afficher le fichier Open project: aaubry/YamlDotNet Class Usage Examples

Méthodes publiques

Méthode Description
AddAnchor ( YamlNode node ) : void

Adds the specified node to the anchor list.

AddNodeWithUnresolvedAliases ( YamlNode node ) : void

Adds the specified node to the collection of nodes with unresolved aliases.

GetNode ( string anchor, bool throwException, YamlDotNet.Core.Mark start, YamlDotNet.Core.Mark end ) : YamlNode

Gets the node with the specified anchor.

ResolveAliases ( ) : void

Resolves the aliases that could not be resolved while loading the document.

Method Details

AddAnchor() public méthode

Adds the specified node to the anchor list.
public AddAnchor ( YamlNode node ) : void
node YamlNode The node.
Résultat void

AddNodeWithUnresolvedAliases() public méthode

Adds the specified node to the collection of nodes with unresolved aliases.
public AddNodeWithUnresolvedAliases ( YamlNode node ) : void
node YamlNode /// The that has unresolved aliases. ///
Résultat void

GetNode() public méthode

Gets the node with the specified anchor.
public GetNode ( string anchor, bool throwException, YamlDotNet.Core.Mark start, YamlDotNet.Core.Mark end ) : YamlNode
anchor string The anchor.
throwException bool if set to true, the method should throw an exception if there is no node with that anchor.
start YamlDotNet.Core.Mark The start position.
end YamlDotNet.Core.Mark The end position.
Résultat YamlNode

ResolveAliases() public méthode

Resolves the aliases that could not be resolved while loading the document.
public ResolveAliases ( ) : void
Résultat void