mscorlib(4.0.0.0) API with additions
|
Represents the invoke dynamic operation at the call site, providing the binding semantic and the details about the operation. More...
Public Member Functions | |
DynamicMetaObject | FallbackInvoke (DynamicMetaObject target, DynamicMetaObject[] args) |
Performs the binding of the dynamic invoke operation if the target dynamic object cannot bind. More... | |
abstract DynamicMetaObject | FallbackInvoke (DynamicMetaObject target, DynamicMetaObject[] args, DynamicMetaObject errorSuggestion) |
Performs the binding of the dynamic invoke operation if the target dynamic object cannot bind. More... | |
sealed override DynamicMetaObject | Bind (DynamicMetaObject target, DynamicMetaObject[] args) |
Performs the binding of the dynamic invoke operation. More... | |
![]() | |
sealed override Expression | Bind (object[] args, ReadOnlyCollection< ParameterExpression > parameters, LabelTarget returnLabel) |
Performs the runtime binding of the dynamic operation on a set of arguments. More... | |
Expression | GetUpdateExpression (Type type) |
Gets an expression that will cause the binding to be updated. It indicates that the expression's binding is no longer valid. This is typically used when the "version" of a dynamic object has changed. More... | |
DynamicMetaObject | Defer (DynamicMetaObject target, params DynamicMetaObject[] args) |
Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed. More... | |
DynamicMetaObject | Defer (params DynamicMetaObject[] args) |
Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed. More... | |
![]() | |
virtual T | BindDelegate< T > (CallSite< T > site, object[] args) |
Provides low-level runtime binding support. Classes can override this and provide a direct delegate for the implementation of rule. This can enable saving rules to disk, having specialized rules available at runtime, or providing a different caching policy. More... | |
Protected Member Functions | |
InvokeBinder (CallInfo callInfo) | |
Initializes a new instance of the T:System.Dynamic.InvokeBinder. More... | |
![]() | |
DynamicMetaObjectBinder () | |
Initializes a new instance of the T:System.Dynamic.DynamicMetaObjectBinder class. More... | |
![]() | |
CallSiteBinder () | |
Initializes a new instance of the T:System.Runtime.CompilerServices.CallSiteBinder class. More... | |
void | CacheTarget< T > (T target) |
Adds a target to the cache of known targets. The cached targets will be scanned before calling BindDelegate to produce the new rule. More... | |
Properties | |
sealed override Type | ReturnType [get] |
The result type of the operation. More... | |
CallInfo | CallInfo [get] |
Gets the signature of the arguments at the call site. More... | |
![]() | |
virtual Type | ReturnType [get] |
The result type of the operation. More... | |
![]() | |
static LabelTarget | UpdateLabel [get] |
Gets a label that can be used to cause the binding to be updated. It indicates that the expression's binding is no longer valid. This is typically used when the "version" of a dynamic object has changed. More... | |
Represents the invoke dynamic operation at the call site, providing the binding semantic and the details about the operation.
Definition at line 7 of file InvokeBinder.cs.
|
protected |
Initializes a new instance of the T:System.Dynamic.InvokeBinder.
callInfo | The signature of the arguments at the call site. |
Definition at line 40 of file InvokeBinder.cs.
|
virtual |
Performs the binding of the dynamic invoke operation.
target | The target of the dynamic invoke operation. |
args | An array of arguments of the dynamic invoke operation. |
Implements System.Dynamic.DynamicMetaObjectBinder.
Definition at line 69 of file InvokeBinder.cs.
DynamicMetaObject System.Dynamic.InvokeBinder.FallbackInvoke | ( | DynamicMetaObject | target, |
DynamicMetaObject [] | args | ||
) |
Performs the binding of the dynamic invoke operation if the target dynamic object cannot bind.
target | The target of the dynamic invoke operation. |
args | The arguments of the dynamic invoke operation. |
Definition at line 51 of file InvokeBinder.cs.
|
pure virtual |
Performs the binding of the dynamic invoke operation if the target dynamic object cannot bind.
target | The target of the dynamic invoke operation. |
args | The arguments of the dynamic invoke operation. |
errorSuggestion | The binding result to use if binding fails, or null. |
|
get |
Gets the signature of the arguments at the call site.
Definition at line 27 of file InvokeBinder.cs.
|
get |
The result type of the operation.
Definition at line 15 of file InvokeBinder.cs.