C# Class Nyaml.Serializer

Show file Open project: yaml/Nyaml

Public Methods

Method Description
Close ( ) : void
Open ( ) : void
Serialize ( Nodes node ) : void
Serializer ( Action emit, Schemas schema = null ) : System

Private Methods

Method Description
AnchorNode ( Nodes node ) : void
GenerateAnchor ( ) : string
SerializeMapping ( Nodes mapping, bool isImplicit ) : void
SerializeNode ( Nodes node ) : void
SerializeNode ( Nodes node, System.Action descend ) : void
SerializeNode ( Nodes node, Nodes parent, Nodes key ) : void
SerializeNode ( Nodes node, Nodes parent, int index ) : void
SerializeScalar ( Nodes scalar, ScalarImplicitLevel implicitLevel ) : void
SerializeSequence ( Nodes sequence, bool isImplicit ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Open() public method

public Open ( ) : void
return void

Serialize() public method

public Serialize ( Nodes node ) : void
node Nodes
return void

Serializer() public method

public Serializer ( Action emit, Schemas schema = null ) : System
emit Action
schema Schemas
return System