C# 클래스 AmazedSaint.Elastic.Lib.ElasticObject

See http://amazedsaint.blogspot.com/2010/02/introducing-elasticobject-for-net-40.html for details
상속: System.Dynamic.DynamicObject, IElasticHierarchyWrapper, INotifyPropertyChanged
파일 보기 프로젝트 열기: amazedsaint/ElasticObject 1 사용 예제들

공개 메소드들

메소드 설명
AddAttribute ( string key, ElasticObject value ) : void
AddElement ( ElasticObject element ) : void
Attribute ( string name ) : ElasticObject
ElasticObject ( ) : System
ElasticObject ( string name ) : System
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
TryBinaryOperation ( BinaryOperationBinder binder, object arg, object &result ) : bool

Interpret the invocation of a binary operation

TryGetIndex ( GetIndexBinder binder, object indexes, object &result ) : bool

Handle the indexer operations

TryGetMember ( GetMemberBinder binder, object &result ) : bool

Catch a get member invocation

TryInvokeMember ( System binder, object args, object &result ) : bool

Interpret a method call

TrySetMember ( SetMemberBinder binder, object value ) : bool

Catch a set member invocation

TryUnaryOperation ( UnaryOperationBinder binder, object &result ) : bool

Try the unary operation.

비공개 메소드들

메소드 설명
AddAttribute ( string memberName, object value ) : void
CreateOrGetAttribute ( string memberName, object value ) : ElasticObject

Add a member to this element, with the specified value

ElasticObject ( string name, object value ) : System
OnPropertyChanged ( string prop ) : void

메소드 상세

AddAttribute() 공개 메소드

public AddAttribute ( string key, ElasticObject value ) : void
key string
value ElasticObject
리턴 void

AddElement() 공개 메소드

public AddElement ( ElasticObject element ) : void
element ElasticObject
리턴 void

Attribute() 공개 메소드

public Attribute ( string name ) : ElasticObject
name string
리턴 ElasticObject

ElasticObject() 공개 메소드

public ElasticObject ( ) : System
리턴 System

ElasticObject() 공개 메소드

public ElasticObject ( string name ) : System
name string
리턴 System

Element() 공개 메소드

public Element ( string name ) : ElasticObject
name string
리턴 ElasticObject

GetAttributeValue() 공개 메소드

public GetAttributeValue ( string name ) : object
name string
리턴 object

HasAttribute() 공개 메소드

public HasAttribute ( string name ) : bool
name string
리턴 bool

RemoveAttribute() 공개 메소드

public RemoveAttribute ( string key ) : void
key string
리턴 void

RemoveElement() 공개 메소드

public RemoveElement ( ElasticObject element ) : void
element ElasticObject
리턴 void

SetAttributeValue() 공개 메소드

public SetAttributeValue ( string name, object obj ) : void
name string
obj object
리턴 void

TryBinaryOperation() 공개 메소드

Interpret the invocation of a binary operation
public TryBinaryOperation ( BinaryOperationBinder binder, object arg, object &result ) : bool
binder System.Dynamic.BinaryOperationBinder
arg object
result object
리턴 bool

TryGetIndex() 공개 메소드

Handle the indexer operations
public TryGetIndex ( GetIndexBinder binder, object indexes, object &result ) : bool
binder System.Dynamic.GetIndexBinder
indexes object
result object
리턴 bool

TryGetMember() 공개 메소드

Catch a get member invocation
public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
리턴 bool

TryInvokeMember() 공개 메소드

Interpret a method call
public TryInvokeMember ( System binder, object args, object &result ) : bool
binder System
args object
result object
리턴 bool

TrySetMember() 공개 메소드

Catch a set member invocation
public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
리턴 bool

TryUnaryOperation() 공개 메소드

Try the unary operation.
public TryUnaryOperation ( UnaryOperationBinder binder, object &result ) : bool
binder System.Dynamic.UnaryOperationBinder
result object
리턴 bool