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

Наследование: YamlNode
Показать файл Открыть проект Примеры использования класса

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

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

IYamlConvertible ( IEmitter emitter, ObjectSerializer nestedObjectSerializer ) : void
IYamlConvertible ( IParser parser, Type expectedType, ObjectDeserializer nestedObjectDeserializer ) : void
YamlScalarNode ( ) : System

Initializes a new instance of the YamlScalarNode class.

YamlScalarNode ( string value ) : System

Initializes a new instance of the YamlScalarNode class.

Приватные методы

Метод Описание
Emit ( IEmitter emitter, EmitterState state ) : void

Saves the current node to the specified emitter.

Load ( IParser parser, DocumentLoadingState state ) : void
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.

YamlScalarNode ( IParser parser, DocumentLoadingState state ) : System

Initializes a new instance of the YamlScalarNode class.

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

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

Accepts the specified visitor by calling the appropriate Visit method on it.
public Accept ( IYamlVisitor visitor ) : void
visitor IYamlVisitor /// A . ///
Результат void

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

public Equals ( object obj ) : bool
obj object
Результат bool

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

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Результат int

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

public IYamlConvertible ( IEmitter emitter, ObjectSerializer nestedObjectSerializer ) : void
emitter IEmitter
nestedObjectSerializer ObjectSerializer
Результат void

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

public IYamlConvertible ( IParser parser, Type expectedType, ObjectDeserializer nestedObjectDeserializer ) : void
parser IParser
expectedType System.Type
nestedObjectDeserializer ObjectDeserializer
Результат void

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

Initializes a new instance of the YamlScalarNode class.
public YamlScalarNode ( ) : System
Результат System

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

Initializes a new instance of the YamlScalarNode class.
public YamlScalarNode ( string value ) : System
value string The value.
Результат System