C# Class StoryTeller.Persistence.JsonNode

Inheritance: INode
Show file Open project: adymitruk/storyteller Class Usage Examples

Private Properties

Property Type Description
createChildren void

Public Methods

Method Description
AddChild ( string name ) : INode
AddComment ( string description ) : void
ForEachAttribute ( string>.Action action ) : void
ForEachChild ( Action action ) : void
IsComment ( ) : bool
IsTags ( ) : bool
JsonNode ( Newtonsoft.Json.Linq.JObject jObject ) : System
JsonNode ( string nodeName ) : System
ToJson ( ) : string
With ( Action action ) : INode
WithFormattedText ( string text ) : INode
this ( string attName ) : string

Private Methods

Method Description
createChildren ( ) : void

Method Details

AddChild() public method

public AddChild ( string name ) : INode
name string
return INode

AddComment() public method

public AddComment ( string description ) : void
description string
return void

ForEachAttribute() public method

public ForEachAttribute ( string>.Action action ) : void
action string>.Action
return void

ForEachChild() public method

public ForEachChild ( Action action ) : void
action Action
return void

IsComment() public method

public IsComment ( ) : bool
return bool

IsTags() public method

public IsTags ( ) : bool
return bool

JsonNode() public method

public JsonNode ( Newtonsoft.Json.Linq.JObject jObject ) : System
jObject Newtonsoft.Json.Linq.JObject
return System

JsonNode() public method

public JsonNode ( string nodeName ) : System
nodeName string
return System

ToJson() public method

public ToJson ( ) : string
return string

With() public method

public With ( Action action ) : INode
action Action
return INode

WithFormattedText() public method

public WithFormattedText ( string text ) : INode
text string
return INode

this() public method

public this ( string attName ) : string
attName string
return string