C# Класс YamlDotNet.RepresentationModel.DocumentLoadingState

Manages the state of a YamlDocument while it is loading.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

AddAnchor() публичный Метод

Adds the specified node to the anchor list.
public AddAnchor ( YamlNode node ) : void
node YamlNode The node.
Результат void

AddNodeWithUnresolvedAliases() публичный Метод

Adds the specified node to the collection of nodes with unresolved aliases.
public AddNodeWithUnresolvedAliases ( YamlNode node ) : void
node YamlNode /// The that has unresolved aliases. ///
Результат void

GetNode() публичный Метод

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.
Результат YamlNode

ResolveAliases() публичный Метод

Resolves the aliases that could not be resolved while loading the document.
public ResolveAliases ( ) : void
Результат void