CallSiteOps.AddRule<T>(CallSite<T>, T) Metoda

Definicja

Przestroga

do not use this method

Dodaje regułę do pamięci podręcznej przechowywanej w dynamicznej lokacji wywołań.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

public:
generic <typename T>
 where T : class static void AddRule(System::Runtime::CompilerServices::CallSite<T> ^ site, T rule);
[System.Obsolete("do not use this method", true)]
public static void AddRule<T> (System.Runtime.CompilerServices.CallSite<T> site, T rule) where T : class;
[<System.Obsolete("do not use this method", true)>]
static member AddRule : System.Runtime.CompilerServices.CallSite<'T (requires 'T : null)> * 'T -> unit (requires 'T : null)
Public Shared Sub AddRule(Of T As Class) (site As CallSite(Of T), rule As T)

Parametry typu

T

Typ delegata obiektu CallSite.

Parametry

site
CallSite<T>

Wystąpienie dynamicznej lokacji wywołań.

rule
T

Wystąpienie reguły lokacji wywołania.

Atrybuty

Dotyczy