C# Class Noear.Snacks.ONode

Show file Open project: noear/Snacks Class Usage Examples

Public Properties

Property Type Description
BOOL_USE01 bool
NULL_DEFAULT String
TIME_FORMAT_ACTION FormatHanlder

Public Methods

Method Description
ONode ( ) : System
ONode ( System.DateTime value ) : System
ONode ( String value ) : System
ONode ( bool value ) : System
ONode ( double value ) : System
ONode ( int value ) : System
ONode ( long value ) : System
add ( ) : ONode
add ( ONode value ) : ONode
contains ( String key ) : System.Boolean
count ( ) : int
get ( String key ) : ONode
get ( int index ) : ONode
getBoolean ( ) : bool
getDate ( ) : System.DateTime
getDouble ( ) : double
getInt ( ) : int
getLong ( ) : long
getString ( ) : String
load ( String ops ) : ONode
remove ( String key ) : bool
set ( String key, ONode value ) : ONode
this ( string key ) : ONode
toJson ( ) : String
toXml ( ) : String
tryLoad ( String ops ) : ONode

Method Details

ONode() public method

public ONode ( ) : System
return System

ONode() public method

public ONode ( System.DateTime value ) : System
value System.DateTime
return System

ONode() public method

public ONode ( String value ) : System
value String
return System

ONode() public method

public ONode ( bool value ) : System
value bool
return System

ONode() public method

public ONode ( double value ) : System
value double
return System

ONode() public method

public ONode ( int value ) : System
value int
return System

ONode() public method

public ONode ( long value ) : System
value long
return System

add() public method

public add ( ) : ONode
return ONode

add() public method

public add ( ONode value ) : ONode
value ONode
return ONode

contains() public method

public contains ( String key ) : System.Boolean
key String
return System.Boolean

count() public method

public count ( ) : int
return int

get() public method

public get ( String key ) : ONode
key String
return ONode

get() public method

public get ( int index ) : ONode
index int
return ONode

getBoolean() public method

public getBoolean ( ) : bool
return bool

getDate() public method

public getDate ( ) : System.DateTime
return System.DateTime

getDouble() public method

public getDouble ( ) : double
return double

getInt() public method

public getInt ( ) : int
return int

getLong() public method

public getLong ( ) : long
return long

getString() public method

public getString ( ) : String
return String

load() public static method

public static load ( String ops ) : ONode
ops String
return ONode

remove() public method

public remove ( String key ) : bool
key String
return bool

set() public method

public set ( String key, ONode value ) : ONode
key String
value ONode
return ONode

this() public method

public this ( string key ) : ONode
key string
return ONode

toJson() public method

public toJson ( ) : String
return String

toXml() public method

public toXml ( ) : String
return String

tryLoad() public static method

public static tryLoad ( String ops ) : ONode
ops String
return ONode

Property Details

BOOL_USE01 public static property

public static bool BOOL_USE01
return bool

NULL_DEFAULT public static property

public static String NULL_DEFAULT
return String

TIME_FORMAT_ACTION public static property

public static FormatHanlder TIME_FORMAT_ACTION
return FormatHanlder