CallSiteOps.AddRule(Of T) Method (CallSite(Of T), T)

 
Note: This API is now obsolete.

This API supports the product infrastructure and is not intended to be used directly from your code.

Adds a rule to the cache maintained on the dynamic call site.

Namespace:   System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

<ObsoleteAttribute("do not use this method", True)>
Public Shared Sub AddRule(Of T As Class) (
	site As CallSite(Of T),
	rule As T
)

Parameters

site
Type: System.Runtime.CompilerServices.CallSite(Of T)

An instance of the dynamic call site.

rule
Type: T

An instance of the call site rule.

Type Parameters

T

The type of the delegate of the CallSite.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: