CallSiteOps.GetRuleCache<T>(CallSite<T>) 方法

定义

注意

do not use this method

检索绑定规则缓存。

此 API 支持产品基础结构,不能在代码中直接使用。

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

类型参数

T

CallSite 的委托的类型。

参数

site
CallSite<T>

动态调用站点的实例。

返回

缓存。

属性

适用于