C# Class Bender.Nodes.JsonNode

Inheritance: NodeBase
Afficher le fichier Open project: mikeobrien/Bender Class Usage Examples

Méthodes publiques

Méthode Description
Encode ( Stream stream, Encoding encoding = null ) : void
JsonNode ( NodeType type, Options options ) : System
JsonNode ( Stream stream, Encoding encoding = null ) : System
JsonNode ( byte bytes, Encoding encoding = null ) : System
JsonNode ( string json ) : System

Méthodes protégées

Méthode Description
AddNode ( INode node, bool named, Action modify ) : void
GetName ( ) : string
GetNodeType ( ) : NodeType
GetNodes ( ) : IEnumerable
GetValue ( ) : object
SetName ( string name ) : void
SetNodeType ( NodeType nodeType ) : void
SetValue ( object value ) : void

Private Methods

Méthode Description
GetElementType ( NodeType type ) : ElementType
JsonNode ( JElement element, JsonNode parent ) : System

Method Details

AddNode() protected méthode

protected AddNode ( INode node, bool named, Action modify ) : void
node INode
named bool
modify Action
Résultat void

Encode() public méthode

public Encode ( Stream stream, Encoding encoding = null ) : void
stream Stream
encoding System.Text.Encoding
Résultat void

GetName() protected méthode

protected GetName ( ) : string
Résultat string

GetNodeType() protected méthode

protected GetNodeType ( ) : NodeType
Résultat NodeType

GetNodes() protected méthode

protected GetNodes ( ) : IEnumerable
Résultat IEnumerable

GetValue() protected méthode

protected GetValue ( ) : object
Résultat object

JsonNode() public méthode

public JsonNode ( NodeType type, Options options ) : System
type NodeType
options Bender.Configuration.Options
Résultat System

JsonNode() public méthode

public JsonNode ( Stream stream, Encoding encoding = null ) : System
stream Stream
encoding System.Text.Encoding
Résultat System

JsonNode() public méthode

public JsonNode ( byte bytes, Encoding encoding = null ) : System
bytes byte
encoding System.Text.Encoding
Résultat System

JsonNode() public méthode

public JsonNode ( string json ) : System
json string
Résultat System

SetName() protected méthode

protected SetName ( string name ) : void
name string
Résultat void

SetNodeType() protected méthode

protected SetNodeType ( NodeType nodeType ) : void
nodeType NodeType
Résultat void

SetValue() protected méthode

protected SetValue ( object value ) : void
value object
Résultat void