C# Class Bender.Nodes.NodeBase

Inheritance: INode
Show file Open project: mikeobrien/Bender

Public Methods

Method Description
Add ( INode node, Action modify ) : void
Encode ( Stream stream, Encoding encoding = null ) : void
GetEnumerator ( ) : IEnumerator
Initialize ( ) : void
Validate ( ) : void

Protected Methods

Method Description
AddNode ( INode node, bool named, Action modify ) : void
GetName ( ) : string
GetNodeType ( ) : NodeType
GetNodes ( ) : IEnumerable
GetValue ( ) : object
NodeBase ( INode parent = null ) : System
SetName ( string name ) : void
SetNodeType ( NodeType nodeType ) : void
SetValue ( object value ) : void

Private Methods

Method Description
IEnumerable ( ) : IEnumerator
Metadata ( ) : System

Method Details

Add() public method

public Add ( INode node, Action modify ) : void
node INode
modify Action
return void

AddNode() protected method

protected AddNode ( INode node, bool named, Action modify ) : void
node INode
named bool
modify Action
return void

Encode() public method

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

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetName() protected method

protected GetName ( ) : string
return string

GetNodeType() protected abstract method

protected abstract GetNodeType ( ) : NodeType
return NodeType

GetNodes() protected method

protected GetNodes ( ) : IEnumerable
return IEnumerable

GetValue() protected method

protected GetValue ( ) : object
return object

Initialize() public method

public Initialize ( ) : void
return void

NodeBase() protected method

protected NodeBase ( INode parent = null ) : System
parent INode
return System

SetName() protected method

protected SetName ( string name ) : void
name string
return void

SetNodeType() protected method

protected SetNodeType ( NodeType nodeType ) : void
nodeType NodeType
return void

SetValue() protected method

protected SetValue ( object value ) : void
value object
return void

Validate() public method

public Validate ( ) : void
return void