Lezen in het Engels Bewerken

Delen via


InvokeMemberBinder Class

Definition

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

public abstract class InvokeMemberBinder : System.Dynamic.DynamicMetaObjectBinder
Inheritance

Constructors

Properties

CallInfo

Gets the signature of the arguments at the call site.

IgnoreCase

Gets the value indicating if the string comparison should ignore the case of the member name.

Name

Gets the name of the member to invoke.

ReturnType

The result type of the operation.

Methods

Bind(DynamicMetaObject, DynamicMetaObject[])

Performs the binding of the dynamic invoke member operation.

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[])

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.

(Inherited from DynamicMetaObjectBinder)
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)

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

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

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

FallbackInvokeMember(DynamicMetaObject, DynamicMetaObject[], DynamicMetaObject)

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

FallbackInvokeMember(DynamicMetaObject, DynamicMetaObject[])

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

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.

(Inherited from DynamicMetaObjectBinder)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versies
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0