C# 클래스 System.Dynamic.DynamicMetaObjectBinder

The dynamic call site binder that participates in the DynamicMetaObject binding protocol.
The CallSiteBinder performs the binding of the dynamic operation using the runtime values as input. On the other hand, the DynamicMetaObjectBinder participates in the DynamicMetaObject binding protocol.
상속: System.Runtime.CompilerServices.CallSiteBinder
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateArgumentMetaObjects System.Dynamic.DynamicMetaObject[]
GetUpdateExpression System.Linq.Expressions.Expression
MakeDeferred DynamicMetaObject

공개 메소드들

메소드 설명
Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject

When overridden in the derived class, performs the binding of the dynamic operation.

Bind ( object args, ReadOnlyCollection parameters, LabelTarget returnLabel ) : Expression

Performs the runtime binding of the dynamic operation on a set of arguments.

Defer ( ) : DynamicMetaObject

Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed.

Defer ( DynamicMetaObject target ) : DynamicMetaObject

Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed.

보호된 메소드들

메소드 설명
DynamicMetaObjectBinder ( ) : System.Collections.ObjectModel

Initializes a new instance of the DynamicMetaObjectBinder class.

비공개 메소드들

메소드 설명
CreateArgumentMetaObjects ( object args, ReadOnlyCollection parameters ) : System.Dynamic.DynamicMetaObject[]
GetUpdateExpression ( Type type ) : Expression
MakeDeferred ( BindingRestrictions rs ) : DynamicMetaObject

메소드 상세

Bind() 공개 추상적인 메소드

When overridden in the derived class, performs the binding of the dynamic operation.
public abstract Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic operation.
args DynamicMetaObject An array of arguments of the dynamic operation.
리턴 DynamicMetaObject

Bind() 공개 최종 메소드

Performs the runtime binding of the dynamic operation on a set of arguments.
public final Bind ( object args, ReadOnlyCollection parameters, LabelTarget returnLabel ) : Expression
args object An array of arguments to the dynamic operation.
parameters ReadOnlyCollection The array of instances that represent the parameters of the call site in the binding process.
returnLabel System.Linq.Expressions.LabelTarget A LabelTarget used to return the result of the dynamic binding.
리턴 System.Linq.Expressions.Expression

Defer() 공개 메소드

Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed.
public Defer ( ) : DynamicMetaObject
리턴 DynamicMetaObject

Defer() 공개 메소드

Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed.
public Defer ( DynamicMetaObject target ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic operation.
리턴 DynamicMetaObject

DynamicMetaObjectBinder() 보호된 메소드

Initializes a new instance of the DynamicMetaObjectBinder class.
protected DynamicMetaObjectBinder ( ) : System.Collections.ObjectModel
리턴 System.Collections.ObjectModel