DynamicMetaObjectBinder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The dynamic call site binder that participates in the DynamicMetaObject binding protocol.
public ref class DynamicMetaObjectBinder abstract : System::Runtime::CompilerServices::CallSiteBinder
public abstract class DynamicMetaObjectBinder : System.Runtime.CompilerServices.CallSiteBinder
type DynamicMetaObjectBinder = class
inherit CallSiteBinder
Public MustInherit Class DynamicMetaObjectBinder
Inherits CallSiteBinder
- Inheritance
- Derived
Remarks
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.
Constructors
DynamicMetaObjectBinder() |
Initializes a new instance of the DynamicMetaObjectBinder class. |
Properties
ReturnType |
The result type of the operation. |
Methods
Bind(DynamicMetaObject, DynamicMetaObject[]) |
When overridden in the derived class, performs the binding of the dynamic operation. |
Bind(Object[], ReadOnlyCollection<ParameterExpression>, LabelTarget) |
Performs the runtime binding of the dynamic operation on a set of arguments. |
BindDelegate<T>(CallSite<T>, Object[]) |
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. (Inherited from CallSiteBinder) |
CacheTarget<T>(T) |
Adds a target to the cache of known targets. The cached targets will be scanned before calling BindDelegate to produce the new rule. (Inherited from CallSiteBinder) |
Defer(DynamicMetaObject, DynamicMetaObject[]) |
Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed. |
Defer(DynamicMetaObject[]) |
Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
GetUpdateExpression(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. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |