Свойство | Тип | Описание | |
---|---|---|---|
Equals | bool | ||
EqualsSub | bool | ||
OnLoaded | void | ||
ToString | string | ||
YamlNode | System.Collections.Generic |
Метод | Описание | |
---|---|---|
Equals ( object obj ) : bool |
Returns true if obj is of same type as the YamlNode and its content is also logically same. Two YamlNode's are logically equal when the YamlNode and its child nodes have the same contents (YamlNode.Tag and YamlScalar.Value) and their node graph topology is exactly same as the other. |
|
ExpandTag ( string tag ) : string |
Convert shorthand tag starting with "!!" to the formal style that starts with "tag:yaml.org,2002:". When tag starts with "!!", it is converted into formal style. Otherwise, tag is returned as is. |
|
FromYaml ( |
Convert YAML text yaml to a list of YamlNode.
|
|
FromYaml ( |
Convert YAML text yaml to a list of YamlNode.
|
|
FromYaml ( |
Convert YAML text yaml to a list of YamlNode.
|
|
FromYaml ( |
Convert YAML text yaml to a list of YamlNode.
|
|
FromYaml ( string yaml ) : System.Yaml.YamlNode[] |
Convert YAML text yaml to a list of YamlNode.
|
|
FromYaml ( string yaml, YamlConfig config ) : System.Yaml.YamlNode[] |
Convert YAML text yaml to a list of YamlNode.
|
|
FromYamlFile ( string FileName ) : System.Yaml.YamlNode[] |
Convert YAML text yaml to a list of YamlNode.
|
|
FromYamlFile ( string FileName, YamlConfig config ) : System.Yaml.YamlNode[] |
Convert YAML text yaml to a list of YamlNode.
|
|
GetHashCode ( ) : int |
Serves as a hash function for a particular type. Hash code is calculated using Tag and Value properties.
|
|
ShorthandTag ( ) : string |
YAML Tag for this node, which represents the type of node's value. The Tag property is returned in a shorthand style.
|
|
ShorthandTag ( string tag ) : string |
Convert a formal style tag that starts with "tag:yaml.org,2002:" to the shorthand style that starts with "!!". When tag contains YAML standard types, it is converted into !!xxx style. Otherwise, tag is returned as is. |
|
ToString ( ) : string |
Returns a String that represents the current Object.
|
|
ToYaml ( ) : string |
Convert YamlNode to a YAML text.
|
|
ToYaml ( YamlConfig config ) : string |
Convert YamlNode to a YAML text.
|
|
ToYaml ( |
Convert YamlNode to a YAML text and save it to Stream s.
|
|
ToYaml ( |
Convert YamlNode to a YAML text and save it to Stream s.
|
|
ToYaml ( |
Convert YamlNode to a YAML text and save it to TextWriter tw.
|
|
ToYaml ( |
Convert YamlNode to a YAML text and save it to TextWriter tw.
|
|
ToYamlFile ( string FileName ) : void |
Convert YamlNode to a YAML text and save it to the file.
|
|
ToYamlFile ( string FileName, YamlConfig config ) : void |
Convert YamlNode to a YAML text and save it to the file.
|
Метод | Описание | |
---|---|---|
GetHashCodeCore ( ) : int |
Return the hash code. The returned value will be cached until OnChanged is called.
|
|
OnChanged ( ) : void |
Call this function when the content of the node is changed.
|
Метод | Описание | |
---|---|---|
Equals ( |
Returns true if b is of same type as the YamlNode and its content is also logically same.
|
|
EqualsSub ( |
Returns true if b is of same type as the YamlNode and its Tag is same as the node. It returns true for skip if they both already appeared in the node trees and were compared.
|
|
OnLoaded ( ) : void |
Called when the node is loaded from a document.
|
|
ToString ( int &length ) : string | ||
YamlNode ( ) : System.Collections.Generic |
public Equals ( object obj ) : bool | ||
obj | object | Object to be compared. |
Результат | bool |
public static ExpandTag ( string tag ) : string | ||
tag | string | Tag in the shorthand style. |
Результат | string |
public static FromYaml ( |
||
s | ||
Результат | System.Yaml.YamlNode[] |
public static FromYaml ( |
||
s | ||
config | YamlConfig | |
Результат | System.Yaml.YamlNode[] |
public static FromYaml ( |
||
tr | ||
Результат | System.Yaml.YamlNode[] |
public static FromYaml ( |
||
tr | ||
config | YamlConfig | |
Результат | System.Yaml.YamlNode[] |
public static FromYaml ( string yaml ) : System.Yaml.YamlNode[] | ||
yaml | string | YAML text |
Результат | System.Yaml.YamlNode[] |
public static FromYaml ( string yaml, YamlConfig config ) : System.Yaml.YamlNode[] | ||
yaml | string | YAML text |
config | YamlConfig | |
Результат | System.Yaml.YamlNode[] |
public static FromYamlFile ( string FileName ) : System.Yaml.YamlNode[] | ||
FileName | string | YAML File Name |
Результат | System.Yaml.YamlNode[] |
public static FromYamlFile ( string FileName, YamlConfig config ) : System.Yaml.YamlNode[] | ||
FileName | string | YAML File Name |
config | YamlConfig | |
Результат | System.Yaml.YamlNode[] |
protected abstract GetHashCodeCore ( ) : int | ||
Результат | int |
public static ShorthandTag ( string tag ) : string | ||
tag | string | Tag in formal style. |
Результат | string |
public ToYaml ( YamlConfig config ) : string | ||
config | YamlConfig | |
Результат | string |
public ToYaml ( |
||
s | ||
Результат | void |
public ToYaml ( |
||
s | ||
config | YamlConfig | |
Результат | void |
public ToYaml ( |
||
tw | ||
Результат | void |
public ToYaml ( |
||
tw | ||
config | YamlConfig | |
Результат | void |
public ToYamlFile ( string FileName ) : void | ||
FileName | string | Name of the file to output |
Результат | void |
public ToYamlFile ( string FileName, YamlConfig config ) : void | ||
FileName | string | Name of the file to output |
config | YamlConfig | |
Результат | void |