C# 클래스 System.Dynamic.DynamicObject

상속: IDynamicMetaObjectProvider
파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

공개 메소드들

메소드 설명
GetMetaObject ( Expression parameter ) : DynamicMetaObject

The provided MetaObject will dispatch to the Dynamic virtual methods. The object can be encapsulated inside of another MetaObject to provide custom behavior for individual actions.

TryDeleteIndex ( DeleteIndexBinder binder, object indexes ) : bool

Provides the implementation of performing a delete index operation. Derived classes can override this method to custmize behavior. When not overridden the call site requesting the binder determines the behavior.

TryDeleteMember ( DeleteMemberBinder binder ) : bool

Provides the implementation of deleting a member. Derived classes can override this method to customize behavior. When not overridden the call site requesting the binder determines the behavior.

TrySetMember ( SetMemberBinder binder, object value ) : bool

Provides the implementation of setting a member. Derived classes can override this method to customize behavior. When not overridden the call site requesting the binder determines the behavior.

보호된 메소드들

메소드 설명
DynamicObject ( ) : Microsoft.Scripting.Ast

Enables derived types to create a new instance of DynamicObject. DynamicObject instances cannot be directly instantiated because they have no implementation of dynamic behavior.

비공개 메소드들

메소드 설명
GetDynamicMemberNames ( ) : System.Collections.Generic.IEnumerable
TryBinaryOperation ( BinaryOperationBinder binder, object arg, object &result ) : bool
TryConvert ( ConvertBinder binder, object &result ) : bool
TryCreateInstance ( CreateInstanceBinder binder, object args, object &result ) : bool
TryGetIndex ( GetIndexBinder binder, object indexes, object &result ) : bool
TryGetMember ( GetMemberBinder binder, object &result ) : bool
TryInvoke ( InvokeBinder binder, object args, object &result ) : bool
TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
TrySetIndex ( SetIndexBinder binder, object indexes, object value ) : bool
TryUnaryOperation ( UnaryOperationBinder binder, object &result ) : bool

메소드 상세

DynamicObject() 보호된 메소드

Enables derived types to create a new instance of DynamicObject. DynamicObject instances cannot be directly instantiated because they have no implementation of dynamic behavior.
protected DynamicObject ( ) : Microsoft.Scripting.Ast
리턴 Microsoft.Scripting.Ast

GetMetaObject() 공개 메소드

The provided MetaObject will dispatch to the Dynamic virtual methods. The object can be encapsulated inside of another MetaObject to provide custom behavior for individual actions.
public GetMetaObject ( Expression parameter ) : DynamicMetaObject
parameter System.Linq.Expressions.Expression
리턴 DynamicMetaObject

TryDeleteIndex() 공개 메소드

Provides the implementation of performing a delete index operation. Derived classes can override this method to custmize behavior. When not overridden the call site requesting the binder determines the behavior.
public TryDeleteIndex ( DeleteIndexBinder binder, object indexes ) : bool
binder DeleteIndexBinder The binder provided by the call site.
indexes object The indexes to be deleted.
리턴 bool

TryDeleteMember() 공개 메소드

Provides the implementation of deleting a member. Derived classes can override this method to customize behavior. When not overridden the call site requesting the binder determines the behavior.
public TryDeleteMember ( DeleteMemberBinder binder ) : bool
binder DeleteMemberBinder The binder provided by the call site.
리턴 bool

TrySetMember() 공개 메소드

Provides the implementation of setting a member. Derived classes can override this method to customize behavior. When not overridden the call site requesting the binder determines the behavior.
public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder SetMemberBinder The binder provided by the call site.
value object The value to set.
리턴 bool