메소드 | 설명 | |
---|---|---|
BindBinaryOperation ( |
Performs the binding of the dynamic binary operation.
|
|
BindConvert ( |
Performs the binding of the dynamic conversion operation.
|
|
BindCreateInstance ( |
Performs the binding of the dynamic create instance operation.
|
|
BindDeleteIndex ( |
Performs the binding of the dynamic delete index operation.
|
|
BindDeleteMember ( |
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.
|
메소드 | 설명 | |
---|---|---|
ApplyBinding ( DynamicMetaObject>.Func |
Binds the dynamic operation to the base meta object and attaches the fallback error suggestion if it can be bound.
|
|
AreEquivalent ( |
||
BindingHasFailed ( DynamicMetaObject metaObject ) : bool | ||
CreateBoundDynamicMetaObject ( DynamicMetaObject>.Func |
Performs the binding of the dynamic operation and relaxes the type restrictions for the target of the delegation. When bindings are evaluated, they are restricted to the type being operated upon. In order to support delegation to other types, we have to relax the type restrictions on the DynamicMetaObject. |
|
DelegatingMetaObject ( Expression expression, object value, DynamicMetaObject baseMetaObject ) : System |
Initializes a new instance of the DelegatingMetaObject class.
|
|
GetLimitedSelf ( ) : Expression | ||
GetTypeRestriction ( ) : BindingRestrictions |
Gets the type restrictions for the current target DynamicMetaObject.Value and Expression.
|
|
RelaxTypeRestrictions ( DynamicMetaObject result, object target ) : DynamicMetaObject |
Relaxes the type restrictions for the current T:System.Dynamic.DynamicMetaObject based on the new delegation target.
|
|
Resolve ( DynamicMetaObject>.Func |
Implemented by inheritors, this function should determine the receiver for the binding of the dynamic operation and use the bindTarget to perform the binding and return the result of that binding operation. The bindTarget can be used multiple times to attempt potential binding operations. |
protected ApplyBinding ( DynamicMetaObject>.Func |
||
bindTarget | DynamicMetaObject>.Func | /// Performs the binding of the dynamic operation if the target dynamic object cannot bind. /// The target of the dynamic operation. |
bindFallback | Func |
/// Performs the binding of the dynamic set member operation if the target dynamic object cannot bind. /// The target of the dynamic set member operation. |
리턴 |
protected AreEquivalent ( |
||
lhs | ||
rhs | ||
리턴 | bool |
public BindBinaryOperation ( |
||
binder |
/// An instance of the |
|
arg |
/// An instance of the |
|
리턴 |
public BindConvert ( |
||
binder |
/// An instance of the |
|
리턴 |
public BindCreateInstance ( |
||
binder |
/// An instance of the |
|
args |
/// An array of |
|
리턴 |
public BindDeleteIndex ( |
||
binder |
/// An instance of the |
|
indexes |
/// An array of |
|
리턴 |
public BindDeleteMember ( |
||
binder |
/// An instance of the |
|
리턴 |
public BindGetIndex ( GetIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject | ||
binder | GetIndexBinder |
/// An instance of the |
indexes | DynamicMetaObject |
/// An array of |
리턴 | DynamicMetaObject |
public BindGetMember ( GetMemberBinder binder ) : DynamicMetaObject | ||
binder | GetMemberBinder |
/// An instance of the |
리턴 | DynamicMetaObject |
public BindInvoke ( InvokeBinder binder, DynamicMetaObject args ) : DynamicMetaObject | ||
binder | InvokeBinder |
/// An instance of the |
args | DynamicMetaObject |
/// An array of |
리턴 | DynamicMetaObject |
public BindInvokeMember ( InvokeMemberBinder binder, DynamicMetaObject args ) : DynamicMetaObject | ||
binder | InvokeMemberBinder |
/// An instance of the |
args | DynamicMetaObject |
/// An array of |
리턴 | DynamicMetaObject |
public BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject | ||
binder | SetIndexBinder |
/// An instance of the |
indexes | DynamicMetaObject |
/// An array of |
value | DynamicMetaObject |
/// The |
리턴 | DynamicMetaObject |
public BindSetMember ( SetMemberBinder binder, DynamicMetaObject value ) : DynamicMetaObject | ||
binder | SetMemberBinder |
/// An instance of the |
value | DynamicMetaObject |
/// The |
리턴 | DynamicMetaObject |
public BindUnaryOperation ( UnaryOperationBinder binder ) : DynamicMetaObject | ||
binder | UnaryOperationBinder |
/// An instance of the |
리턴 | DynamicMetaObject |
protected static BindingHasFailed ( DynamicMetaObject metaObject ) : bool | ||
metaObject | DynamicMetaObject | |
리턴 | bool |
protected CreateBoundDynamicMetaObject ( DynamicMetaObject>.Func |
||
bindTarget | DynamicMetaObject>.Func | /// Performs the binding of the dynamic operation if the target dynamic object cannot bind. /// The target of the dynamic operation. |
target | object | The target of the dynamic operation. |
리턴 | DynamicMetaObject |
protected DelegatingMetaObject ( Expression expression, object value, DynamicMetaObject baseMetaObject ) : System | ||
expression | Expression |
/// The expression representing this |
value | object |
/// The runtime value represented by the |
baseMetaObject | DynamicMetaObject |
/// The |
리턴 | System |
protected GetTypeRestriction ( ) : BindingRestrictions | ||
리턴 | BindingRestrictions |
protected RelaxTypeRestrictions ( DynamicMetaObject result, object target ) : DynamicMetaObject | ||
result | DynamicMetaObject | The result. |
target | object | The target of the dynamic operation. |
리턴 | DynamicMetaObject |
protected abstract Resolve ( DynamicMetaObject>.Func |
||
bindTarget | DynamicMetaObject>.Func | /// Performs the binding of the dynamic operation if the target dynamic object cannot bind. /// The target of the dynamic operation. |
리턴 | DynamicMetaObject |