C# Class Yaml.Mapping

Yaml Mapping
Inheritance: Node
显示文件 Open project: rs-services/RightGridWindowsImplementation Class Usage Examples

Public Methods

Method Description
AddMappingNode ( MappingNode node ) : void

Add a node to this mapping

AddMappingNode ( Node key, Node val ) : void

Add a node to this mapping

Info ( ) : Node

Node info

Mapping ( ) : System

New empty mapping

Mapping ( MappingNode nodes ) : System

New mapping from a mappingnode array

Mapping ( ParseStream stream ) : System

Parse a mapping

ToString ( ) : string

To String

Protected Methods

Method Description
Write ( WriteStream stream ) : void

Write to YAML

Method Details

AddMappingNode() public method

Add a node to this mapping
public AddMappingNode ( MappingNode node ) : void
node MappingNode
return void

AddMappingNode() public method

Add a node to this mapping
public AddMappingNode ( Node key, Node val ) : void
key Node
val Node
return void

Info() public method

Node info
public Info ( ) : Node
return Node

Mapping() public method

New empty mapping
public Mapping ( ) : System
return System

Mapping() public method

New mapping from a mappingnode array
public Mapping ( MappingNode nodes ) : System
nodes MappingNode
return System

Mapping() public method

Parse a mapping
public Mapping ( ParseStream stream ) : System
stream ParseStream
return System

ToString() public method

To String
public ToString ( ) : string
return string

Write() protected method

Write to YAML
protected Write ( WriteStream stream ) : void
stream WriteStream
return void