C# Class YamlDotNet.RepresentationModel.YamlScalarNode

Inheritance: YamlNode
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.

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.

Private Methods

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

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

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Résultat int

IYamlConvertible() public méthode

public IYamlConvertible ( IEmitter emitter, ObjectSerializer nestedObjectSerializer ) : void
emitter IEmitter
nestedObjectSerializer ObjectSerializer
Résultat void

IYamlConvertible() public méthode

public IYamlConvertible ( IParser parser, Type expectedType, ObjectDeserializer nestedObjectDeserializer ) : void
parser IParser
expectedType System.Type
nestedObjectDeserializer ObjectDeserializer
Résultat void

YamlScalarNode() public méthode

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

YamlScalarNode() public méthode

Initializes a new instance of the YamlScalarNode class.
public YamlScalarNode ( string value ) : System
value string The value.
Résultat System