C# Class System.Yaml.YamlScalar

Represents a scalar node in a YAML document.
Inheritance: YamlNode
Afficher le fichier Open project: jbruening/YamlSerializer-Fork Class Usage Examples

Private Properties

Свойство Type Description
Equals bool
ToString string
UpdateNativeObject void

Méthodes publiques

Méthode Description
YamlScalar ( ) : System.Text.RegularExpressions

Create empty string node.

YamlScalar ( DateTime value ) : System.Text.RegularExpressions

Initialize a timestamp node that has value as its content.

YamlScalar ( bool value ) : System.Text.RegularExpressions

Initialize a bool node that has value as its content.

YamlScalar ( double value ) : System.Text.RegularExpressions

Initialize a float node that has value as its content.

YamlScalar ( int value ) : System.Text.RegularExpressions

Initialize an integer node that has value as its content.

YamlScalar ( string value ) : System.Text.RegularExpressions

Initialize string node that has value as its content.

YamlScalar ( string tag, string value ) : System.Text.RegularExpressions

Create a scalar node with arbitral tag.

Méthodes protégées

Méthode Description
GetHashCodeCore ( ) : int

Returns the hash code. The returned value will be cached until YamlNode.OnChanged is called.

OnChanged ( ) : void

Call this function when the content of the node is changed.

Private Methods

Méthode Description
Equals ( YamlNode b, ObjectRepository repository ) : bool
ToString ( int &length ) : string
UpdateNativeObject ( ) : void

Method Details

GetHashCodeCore() protected méthode

Returns the hash code. The returned value will be cached until YamlNode.OnChanged is called.
protected GetHashCodeCore ( ) : int
Résultat int

OnChanged() protected méthode

Call this function when the content of the node is changed.
protected OnChanged ( ) : void
Résultat void

YamlScalar() public méthode

Create empty string node.
public YamlScalar ( ) : System.Text.RegularExpressions
Résultat System.Text.RegularExpressions

YamlScalar() public méthode

Initialize a timestamp node that has value as its content.
public YamlScalar ( DateTime value ) : System.Text.RegularExpressions
value DateTime
Résultat System.Text.RegularExpressions

YamlScalar() public méthode

Initialize a bool node that has value as its content.
public YamlScalar ( bool value ) : System.Text.RegularExpressions
value bool
Résultat System.Text.RegularExpressions

YamlScalar() public méthode

Initialize a float node that has value as its content.
public YamlScalar ( double value ) : System.Text.RegularExpressions
value double
Résultat System.Text.RegularExpressions

YamlScalar() public méthode

Initialize an integer node that has value as its content.
public YamlScalar ( int value ) : System.Text.RegularExpressions
value int
Résultat System.Text.RegularExpressions

YamlScalar() public méthode

Initialize string node that has value as its content.
public YamlScalar ( string value ) : System.Text.RegularExpressions
value string Value of the node.
Résultat System.Text.RegularExpressions

YamlScalar() public méthode

Create a scalar node with arbitral tag.
public YamlScalar ( string tag, string value ) : System.Text.RegularExpressions
tag string Tag to the node.
value string Value of the node.
Résultat System.Text.RegularExpressions