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
Показать файл Открыть проект Примеры использования класса

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