C# 클래스 ExposedObject.MetaObject

Represents the dynamic binding and a binding logic of an object participating in the dynamic binding.
상속: System.Dynamic.DynamicMetaObject
파일 보기 프로젝트 열기: Cognifide/ExposedObject

공개 메소드들

메소드 설명
BindGetMember ( GetMemberBinder binder ) : DynamicMetaObject

Performs the binding of the dynamic get member operation.

BindInvokeMember ( InvokeMemberBinder binder, DynamicMetaObject args ) : DynamicMetaObject

Performs the binding of the dynamic invoke member operation.

BindSetMember ( SetMemberBinder binder, DynamicMetaObject value ) : DynamicMetaObject

Performs the binding of the dynamic set member operation.

MetaObject ( Expression expression, object value, bool staticBind ) : System

Initializes a new instance of the MetaObject class.

비공개 메소드들

메소드 설명
ConvertExpressionType ( Type expectedType, Expression target ) : Expression

Coerces the expression type into the expected return type.

Dynamic dispatch expects a method to return .

GetBindingFlags ( ) : BindingFlags

Returns BindingFlags for member search.

GetMemberExpression ( Expression self, string memberName ) : MemberExpression

Generates the Expression for accessing a member by name.

메소드 상세

BindGetMember() 공개 메소드

Performs the binding of the dynamic get member operation.
public BindGetMember ( GetMemberBinder binder ) : DynamicMetaObject
binder System.Dynamic.GetMemberBinder /// An instance of the that represents the details of the dynamic operation. ///
리턴 System.Dynamic.DynamicMetaObject

BindInvokeMember() 공개 메소드

Performs the binding of the dynamic invoke member operation.
/// There is an attempt to dynamically access a class member that does not exist. ///
public BindInvokeMember ( InvokeMemberBinder binder, DynamicMetaObject args ) : DynamicMetaObject
binder System.Dynamic.InvokeMemberBinder /// An instance of the that represents the details of the dynamic operation. ///
args System.Dynamic.DynamicMetaObject /// An array of instances - arguments to the invoke member operation. ///
리턴 System.Dynamic.DynamicMetaObject

BindSetMember() 공개 메소드

Performs the binding of the dynamic set member operation.
public BindSetMember ( SetMemberBinder binder, DynamicMetaObject value ) : DynamicMetaObject
binder System.Dynamic.SetMemberBinder /// An instance of the that represents the details of the dynamic operation. ///
value System.Dynamic.DynamicMetaObject /// The representing the value for the set member operation. ///
리턴 System.Dynamic.DynamicMetaObject

MetaObject() 공개 메소드

Initializes a new instance of the MetaObject class.
public MetaObject ( Expression expression, object value, bool staticBind ) : System
expression System.Linq.Expressions.Expression /// The expression representing this during the dynamic binding process. ///
value object /// The runtime value represented by the . ///
staticBind bool /// Should this MetaObject bind to or instance methods and fields. ///
리턴 System