C# Класс System.Yaml.YamlScalar

Represents a scalar node in a YAML document.
Наследование: YamlNode
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Equals bool
ToString string
UpdateNativeObject void

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

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

Защищенные методы

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

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

Метод Описание
Equals ( YamlNode b, ObjectRepository repository ) : bool
ToString ( int &length ) : string
UpdateNativeObject ( ) : void

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

GetHashCodeCore() защищенный Метод

Returns the hash code. The returned value will be cached until YamlNode.OnChanged is called.
protected GetHashCodeCore ( ) : int
Результат int

OnChanged() защищенный Метод

Call this function when the content of the node is changed.
protected OnChanged ( ) : void
Результат void

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

Create empty string node.
public YamlScalar ( ) : System.Text.RegularExpressions
Результат System.Text.RegularExpressions

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

Initialize a timestamp node that has value as its content.
public YamlScalar ( DateTime value ) : System.Text.RegularExpressions
value DateTime
Результат System.Text.RegularExpressions

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

Initialize a bool node that has value as its content.
public YamlScalar ( bool value ) : System.Text.RegularExpressions
value bool
Результат System.Text.RegularExpressions

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

Initialize a float node that has value as its content.
public YamlScalar ( double value ) : System.Text.RegularExpressions
value double
Результат System.Text.RegularExpressions

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

Initialize an integer node that has value as its content.
public YamlScalar ( int value ) : System.Text.RegularExpressions
value int
Результат System.Text.RegularExpressions

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

Initialize string node that has value as its content.
public YamlScalar ( string value ) : System.Text.RegularExpressions
value string Value of the node.
Результат System.Text.RegularExpressions

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

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