CreateInstanceBinder CreateInstanceBinder CreateInstanceBinder CreateInstanceBinder Class

Definition

Represents the dynamic create operation at the call site, providing the binding semantic and the details about the operation.

public ref class CreateInstanceBinder abstract : System::Dynamic::DynamicMetaObjectBinder
public abstract class CreateInstanceBinder : System.Dynamic.DynamicMetaObjectBinder
type CreateInstanceBinder = class
    inherit DynamicMetaObjectBinder
Public MustInherit Class CreateInstanceBinder
Inherits DynamicMetaObjectBinder
Inheritance

Constructors

CreateInstanceBinder(CallInfo) CreateInstanceBinder(CallInfo) CreateInstanceBinder(CallInfo) CreateInstanceBinder(CallInfo)

Initializes a new instance of the CreateInstanceBinder.

Properties

CallInfo CallInfo CallInfo CallInfo

Gets the signature of the arguments at the call site.

ReturnType ReturnType ReturnType ReturnType

The result type of the operation.

Methods

Bind(DynamicMetaObject, DynamicMetaObject[]) Bind(DynamicMetaObject, DynamicMetaObject[]) Bind(DynamicMetaObject, DynamicMetaObject[]) Bind(DynamicMetaObject, DynamicMetaObject[])

Performs the binding of the dynamic create operation.

Bind(Object[], ReadOnlyCollection<ParameterExpression>, LabelTarget) Bind(Object[], ReadOnlyCollection<ParameterExpression>, LabelTarget) Bind(Object[], ReadOnlyCollection<ParameterExpression>, LabelTarget) Bind(Object[], ReadOnlyCollection<ParameterExpression>, LabelTarget)

Performs the runtime binding of the dynamic operation on a set of arguments.

(Inherited from DynamicMetaObjectBinder)
BindDelegate<T>(CallSite<T>, Object[]) BindDelegate<T>(CallSite<T>, Object[]) BindDelegate<T>(CallSite<T>, Object[]) 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) CacheTarget<T>(T) CacheTarget<T>(T) 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[]) Defer(DynamicMetaObject, DynamicMetaObject[]) Defer(DynamicMetaObject, DynamicMetaObject[]) Defer(DynamicMetaObject, DynamicMetaObject[])

Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed.

(Inherited from DynamicMetaObjectBinder)
Defer(DynamicMetaObject[]) Defer(DynamicMetaObject[]) Defer(DynamicMetaObject[]) Defer(DynamicMetaObject[])

Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed.

(Inherited from DynamicMetaObjectBinder)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[]) FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[]) FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[]) FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[])

Performs the binding of the dynamic create operation if the target dynamic object cannot bind.

FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject) FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject) FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject) FallbackCreateInstance(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

When overridden in the derived class, performs the binding of the dynamic create operation if the target dynamic object cannot bind.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUpdateExpression(Type) GetUpdateExpression(Type) GetUpdateExpression(Type) 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.

(Inherited from DynamicMetaObjectBinder)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to