Condividi tramite


CallSiteOps Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Creates and caches binding rules.

Inheritance Hierarchy

System.Object
  System.Runtime.CompilerServices.CallSiteOps

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

Syntax

'Declaration
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
<DebuggerStepThroughAttribute> _
Public NotInheritable Class CallSiteOps
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[DebuggerStepThroughAttribute]
public static class CallSiteOps

The CallSiteOps type exposes the following members.

Methods

  Name Description
Public methodStatic member AddRule<T> Obsolete. Adds a rule to the cache maintained on the dynamic call site.
Public methodStatic member Bind<T> Obsolete. Updates the call site target with a new rule based on the arguments.
Public methodStatic member ClearMatch Obsolete. Clears the match flag on the matchmaker call site.
Public methodStatic member CreateMatchmaker<T> Obsolete. Creates an instance of a dynamic call site used for cache lookup.
Public methodStatic member GetCachedRules<T> Obsolete. Searches the dynamic rule cache for rules applicable to the dynamic operation.
Public methodStatic member GetMatch Obsolete. Checks whether the executed rule matched
Public methodStatic member GetRuleCache<T> Obsolete. Retrieves binding rule cache.
Public methodStatic member GetRules<T> Obsolete. Gets the dynamic binding rules from the call site.
Public methodStatic member MoveRule<T> Obsolete. Moves the binding rule within the cache.
Public methodStatic member SetNotMatched Obsolete. Checks if a dynamic site requires an update.
Public methodStatic member UpdateRules<T> Obsolete. Updates rules in the cache.

Top

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.