Property | Type | Description | |
---|---|---|---|
Equals | bool | ||
EqualsSub | bool | ||
OnLoaded | void | ||
ToString | string | ||
YamlNode | System.Collections.Generic |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
return | bool |
public static ExpandTag ( string tag ) : string | ||
tag | string | Tag in the shorthand style. |
return | string |
public static FromYaml ( |
||
s | ||
return | System.Yaml.YamlNode[] |
public static FromYaml ( |
||
s | ||
config | YamlConfig | |
return | System.Yaml.YamlNode[] |
public static FromYaml ( |
||
tr | ||
return | System.Yaml.YamlNode[] |
public static FromYaml ( |
||
tr | ||
config | YamlConfig | |
return | System.Yaml.YamlNode[] |
public static FromYaml ( string yaml ) : System.Yaml.YamlNode[] | ||
yaml | string | YAML text |
return | System.Yaml.YamlNode[] |
public static FromYaml ( string yaml, YamlConfig config ) : System.Yaml.YamlNode[] | ||
yaml | string | YAML text |
config | YamlConfig | |
return | System.Yaml.YamlNode[] |
public static FromYamlFile ( string FileName ) : System.Yaml.YamlNode[] | ||
FileName | string | YAML File Name |
return | System.Yaml.YamlNode[] |
public static FromYamlFile ( string FileName, YamlConfig config ) : System.Yaml.YamlNode[] | ||
FileName | string | YAML File Name |
config | YamlConfig | |
return | System.Yaml.YamlNode[] |
public static ShorthandTag ( string tag ) : string | ||
tag | string | Tag in formal style. |
return | string |
public ToYaml ( YamlConfig config ) : string | ||
config | YamlConfig | |
return | string |
public ToYaml ( |
||
s | ||
config | YamlConfig | |
return | void |
public ToYaml ( |
||
tw | ||
return | void |
public ToYaml ( |
||
tw | ||
config | YamlConfig | |
return | void |
public ToYamlFile ( string FileName ) : void | ||
FileName | string | Name of the file to output |
return | void |
public ToYamlFile ( string FileName, YamlConfig config ) : void | ||
FileName | string | Name of the file to output |
config | YamlConfig | |
return | void |