C# 클래스 System.Yaml.YamlScalar

Represents a scalar node in a YAML document.
상속: YamlNode
파일 보기 프로젝트 열기: jbruening/YamlSerializer-Fork 1 사용 예제들

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