C# Class AmazedSaint.Elastic.Lib.SimpleHierarchyWrapper

A concrete hierarchy wrapper
Inheritance: IElasticHierarchyWrapper
显示文件 Open project: amazedsaint/ElasticObject

Public Methods

Method Description
AddAttribute ( string key, ElasticObject value ) : void
AddElement ( ElasticObject element ) : void
Attribute ( string name ) : ElasticObject
Element ( string name ) : ElasticObject
GetAttributeValue ( string name ) : object
HasAttribute ( string name ) : bool
RemoveAttribute ( string key ) : void
RemoveElement ( ElasticObject element ) : void
SetAttributeValue ( string name, object obj ) : void

Method Details

AddAttribute() public method

public AddAttribute ( string key, ElasticObject value ) : void
key string
value ElasticObject
return void

AddElement() public method

public AddElement ( ElasticObject element ) : void
element ElasticObject
return void

Attribute() public method

public Attribute ( string name ) : ElasticObject
name string
return ElasticObject

Element() public method

public Element ( string name ) : ElasticObject
name string
return ElasticObject

GetAttributeValue() public method

public GetAttributeValue ( string name ) : object
name string
return object

HasAttribute() public method

public HasAttribute ( string name ) : bool
name string
return bool

RemoveAttribute() public method

public RemoveAttribute ( string key ) : void
key string
return void

RemoveElement() public method

public RemoveElement ( ElasticObject element ) : void
element ElasticObject
return void

SetAttributeValue() public method

public SetAttributeValue ( string name, object obj ) : void
name string
obj object
return void