CallSiteBinder.BindDelegate<T>(CallSite<T>, Object[]) メソッド

定義

低レベルのランタイム バインドのサポートを提供します。 クラスはこれをオーバーライドし、ルールの実装のための直接デリゲートを提供できます。 これにより、ディスクにルールを保存したり、実行時に特殊なルールを使用したり、別のキャッシュ ポリシーを提供したりできます。

public:
generic <typename T>
 where T : class virtual T BindDelegate(System::Runtime::CompilerServices::CallSite<T> ^ site, cli::array <System::Object ^> ^ args);
public virtual T BindDelegate<T>(System.Runtime.CompilerServices.CallSite<T> site, object[] args) where T : class;
abstract member BindDelegate : System.Runtime.CompilerServices.CallSite<'T (requires 'T : null)> * obj[] -> 'T (requires 'T : null)
override this.BindDelegate : System.Runtime.CompilerServices.CallSite<'T (requires 'T : null)> * obj[] -> 'T (requires 'T : null)
Public Overridable Function BindDelegate(Of T As Class) (site As CallSite(Of T), args As Object()) As T

型パラメーター

T

CallSite のターゲットの種類。

パラメーター

site
CallSite<T>

バインドが実行されている CallSite。

args
Object[]

バインダーの引数。

返品

T

CallSite ターゲットを置き換える新しいデリゲート。

適用対象