InvokeMemberBinder 類別

定義

代表呼叫位置上的叫用成員動態作業,並提供繫結語意和作業的詳細資料。Represents the invoke member dynamic operation at the call site, providing the binding semantic and the details about the operation.

public ref class InvokeMemberBinder abstract : System::Dynamic::DynamicMetaObjectBinder
public abstract class InvokeMemberBinder : System.Dynamic.DynamicMetaObjectBinder
type InvokeMemberBinder = class
    inherit DynamicMetaObjectBinder
Public MustInherit Class InvokeMemberBinder
Inherits DynamicMetaObjectBinder
繼承

建構函式

InvokeMemberBinder(String, Boolean, CallInfo)

初始化 InvokeMemberBinder 的新執行個體。Initializes a new instance of the InvokeMemberBinder.

屬性

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.

方法

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.

(繼承來源 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.

(繼承來源 CallSiteBinder)
CacheTarget<T>(T)

將目標加入至已知目標的快取。Adds a target to the cache of known targets. 在呼叫 BindDelegate 產生新規則之前,會先掃描快取的目標。The cached targets will be scanned before calling BindDelegate to produce the new rule.

(繼承來源 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.

(繼承來源 DynamicMetaObjectBinder)
Defer(DynamicMetaObject[])

延後到所有動態作業引數的執行階段值都計算出來時,才執行作業的繫結。Defers the binding of the operation until later time when the runtime values of all dynamic operation arguments have been computed.

(繼承來源 DynamicMetaObjectBinder)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 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[])

如果目標動態物件無法繫結,則會執行動態叫用成員作業的繫結。Performs the binding of the dynamic invoke member 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.

GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 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.

(繼承來源 DynamicMetaObjectBinder)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於