C# Класс System.Dynamic.DynamicMetaObject

Represents the dynamic binding and a binding logic of an object participating in the dynamic binding.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BindBinaryOperation ( BinaryOperationBinder binder, DynamicMetaObject arg ) : DynamicMetaObject

Performs the binding of the dynamic binary operation.

BindConvert ( ConvertBinder binder ) : DynamicMetaObject

Performs the binding of the dynamic conversion operation.

BindCreateInstance ( CreateInstanceBinder binder, DynamicMetaObject args ) : DynamicMetaObject

Performs the binding of the dynamic create instance operation.

BindDeleteIndex ( DeleteIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject

Performs the binding of the dynamic delete index operation.

BindDeleteMember ( DeleteMemberBinder binder ) : DynamicMetaObject

Performs the binding of the dynamic delete member operation.

BindGetIndex ( GetIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject

Performs the binding of the dynamic get index operation.

BindGetMember ( GetMemberBinder binder ) : DynamicMetaObject

Performs the binding of the dynamic get member operation.

BindInvoke ( InvokeBinder binder, DynamicMetaObject args ) : DynamicMetaObject

Performs the binding of the dynamic invoke operation.

BindInvokeMember ( InvokeMemberBinder binder, DynamicMetaObject args ) : DynamicMetaObject

Performs the binding of the dynamic invoke member operation.

BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject

Performs the binding of the dynamic set index operation.

BindSetMember ( SetMemberBinder binder, DynamicMetaObject value ) : DynamicMetaObject

Performs the binding of the dynamic set member operation.

BindUnaryOperation ( UnaryOperationBinder binder ) : DynamicMetaObject

Performs the binding of the dynamic unary operation.

Create ( object value, Expression expression ) : DynamicMetaObject

Creates a meta-object for the specified object.

DynamicMetaObject ( Expression expression, BindingRestrictions restrictions ) : System.Collections.Generic

Initializes a new instance of the DynamicMetaObject class.

DynamicMetaObject ( Expression expression, BindingRestrictions restrictions, object value ) : System.Collections.Generic

Initializes a new instance of the DynamicMetaObject class.

Приватные методы

Метод Описание
GetDynamicMemberNames ( ) : IEnumerable
GetExpressions ( DynamicMetaObject objects ) : System.Linq.Expressions.Expression[]

Returns the list of expressions represented by the DynamicMetaObject instances.

Описание методов

BindBinaryOperation() публичный Метод

Performs the binding of the dynamic binary operation.
public BindBinaryOperation ( BinaryOperationBinder binder, DynamicMetaObject arg ) : DynamicMetaObject
binder BinaryOperationBinder An instance of the that represents the details of the dynamic operation.
arg DynamicMetaObject An instance of the representing the right hand side of the binary operation.
Результат DynamicMetaObject

BindConvert() публичный Метод

Performs the binding of the dynamic conversion operation.
public BindConvert ( ConvertBinder binder ) : DynamicMetaObject
binder ConvertBinder An instance of the that represents the details of the dynamic operation.
Результат DynamicMetaObject

BindCreateInstance() публичный Метод

Performs the binding of the dynamic create instance operation.
public BindCreateInstance ( CreateInstanceBinder binder, DynamicMetaObject args ) : DynamicMetaObject
binder CreateInstanceBinder An instance of the that represents the details of the dynamic operation.
args DynamicMetaObject An array of instances - arguments to the create instance operation.
Результат DynamicMetaObject

BindDeleteIndex() публичный Метод

Performs the binding of the dynamic delete index operation.
public BindDeleteIndex ( DeleteIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder DeleteIndexBinder An instance of the that represents the details of the dynamic operation.
indexes DynamicMetaObject An array of instances - indexes for the delete index operation.
Результат DynamicMetaObject

BindDeleteMember() публичный Метод

Performs the binding of the dynamic delete member operation.
public BindDeleteMember ( DeleteMemberBinder binder ) : DynamicMetaObject
binder DeleteMemberBinder An instance of the that represents the details of the dynamic operation.
Результат DynamicMetaObject

BindGetIndex() публичный Метод

Performs the binding of the dynamic get index operation.
public BindGetIndex ( GetIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder GetIndexBinder An instance of the that represents the details of the dynamic operation.
indexes DynamicMetaObject An array of instances - indexes for the get index operation.
Результат DynamicMetaObject

BindGetMember() публичный Метод

Performs the binding of the dynamic get member operation.
public BindGetMember ( GetMemberBinder binder ) : DynamicMetaObject
binder GetMemberBinder An instance of the that represents the details of the dynamic operation.
Результат DynamicMetaObject

BindInvoke() публичный Метод

Performs the binding of the dynamic invoke operation.
public BindInvoke ( InvokeBinder binder, DynamicMetaObject args ) : DynamicMetaObject
binder InvokeBinder An instance of the that represents the details of the dynamic operation.
args DynamicMetaObject An array of instances - arguments to the invoke operation.
Результат DynamicMetaObject

BindInvokeMember() публичный Метод

Performs the binding of the dynamic invoke member operation.
public BindInvokeMember ( InvokeMemberBinder binder, DynamicMetaObject args ) : DynamicMetaObject
binder InvokeMemberBinder An instance of the that represents the details of the dynamic operation.
args DynamicMetaObject An array of instances - arguments to the invoke member operation.
Результат DynamicMetaObject

BindSetIndex() публичный Метод

Performs the binding of the dynamic set index operation.
public BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject
binder SetIndexBinder An instance of the that represents the details of the dynamic operation.
indexes DynamicMetaObject An array of instances - indexes for the set index operation.
value DynamicMetaObject The representing the value for the set index operation.
Результат DynamicMetaObject

BindSetMember() публичный Метод

Performs the binding of the dynamic set member operation.
public BindSetMember ( SetMemberBinder binder, DynamicMetaObject value ) : DynamicMetaObject
binder SetMemberBinder An instance of the that represents the details of the dynamic operation.
value DynamicMetaObject The representing the value for the set member operation.
Результат DynamicMetaObject

BindUnaryOperation() публичный Метод

Performs the binding of the dynamic unary operation.
public BindUnaryOperation ( UnaryOperationBinder binder ) : DynamicMetaObject
binder UnaryOperationBinder An instance of the that represents the details of the dynamic operation.
Результат DynamicMetaObject

Create() публичный статический Метод

Creates a meta-object for the specified object.
public static Create ( object value, Expression expression ) : DynamicMetaObject
value object The object to get a meta-object for.
expression System.Linq.Expressions.Expression The expression representing this during the dynamic binding process.
Результат DynamicMetaObject

DynamicMetaObject() публичный Метод

Initializes a new instance of the DynamicMetaObject class.
public DynamicMetaObject ( Expression expression, BindingRestrictions restrictions ) : System.Collections.Generic
expression System.Linq.Expressions.Expression The expression representing this during the dynamic binding process.
restrictions BindingRestrictions The set of binding restrictions under which the binding is valid.
Результат System.Collections.Generic

DynamicMetaObject() публичный Метод

Initializes a new instance of the DynamicMetaObject class.
public DynamicMetaObject ( Expression expression, BindingRestrictions restrictions, object value ) : System.Collections.Generic
expression System.Linq.Expressions.Expression The expression representing this during the dynamic binding process.
restrictions BindingRestrictions The set of binding restrictions under which the binding is valid.
value object The runtime value represented by the .
Результат System.Collections.Generic