CallSiteOps CallSiteOps CallSiteOps CallSiteOps Class

Definition

Creates and caches binding rules.

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

public ref class CallSiteOps abstract sealed
public static class CallSiteOps
type CallSiteOps = class
Public Class CallSiteOps
Inheritance
CallSiteOpsCallSiteOpsCallSiteOpsCallSiteOps

Methods

AddRule<T>(CallSite<T>, T) AddRule<T>(CallSite<T>, T) AddRule<T>(CallSite<T>, T) AddRule<T>(CallSite<T>, T)

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

Bind<T>(CallSiteBinder, CallSite<T>, Object[]) Bind<T>(CallSiteBinder, CallSite<T>, Object[]) Bind<T>(CallSiteBinder, CallSite<T>, Object[]) Bind<T>(CallSiteBinder, CallSite<T>, Object[])

Updates the call site target with a new rule based on the arguments.

ClearMatch(CallSite) ClearMatch(CallSite) ClearMatch(CallSite) ClearMatch(CallSite)

Clears the match flag on the matchmaker call site.

CreateMatchmaker<T>(CallSite<T>) CreateMatchmaker<T>(CallSite<T>) CreateMatchmaker<T>(CallSite<T>) CreateMatchmaker<T>(CallSite<T>)

Creates an instance of a dynamic call site used for cache lookup.

GetCachedRules<T>(RuleCache<T>) GetCachedRules<T>(RuleCache<T>) GetCachedRules<T>(RuleCache<T>) GetCachedRules<T>(RuleCache<T>)

Searches the dynamic rule cache for rules applicable to the dynamic operation.

GetMatch(CallSite) GetMatch(CallSite) GetMatch(CallSite) GetMatch(CallSite)

Checks whether the executed rule matched.

GetRuleCache<T>(CallSite<T>) GetRuleCache<T>(CallSite<T>) GetRuleCache<T>(CallSite<T>) GetRuleCache<T>(CallSite<T>)

Retrieves binding rule cache.

GetRules<T>(CallSite<T>) GetRules<T>(CallSite<T>) GetRules<T>(CallSite<T>) GetRules<T>(CallSite<T>)

Gets the dynamic binding rules from the call site.

MoveRule<T>(RuleCache<T>, T, Int32) MoveRule<T>(RuleCache<T>, T, Int32) MoveRule<T>(RuleCache<T>, T, Int32) MoveRule<T>(RuleCache<T>, T, Int32)

Moves the binding rule within the cache.

SetNotMatched(CallSite) SetNotMatched(CallSite) SetNotMatched(CallSite) SetNotMatched(CallSite)

Checks if a dynamic site requires an update.

UpdateRules<T>(CallSite<T>, Int32) UpdateRules<T>(CallSite<T>, Int32) UpdateRules<T>(CallSite<T>, Int32) UpdateRules<T>(CallSite<T>, Int32)

Updates rules in the cache.

Applies to