Redigera

Dela via


CallSiteBinder Class

Definition

Class responsible for runtime binding of the dynamic operations on the dynamic call site.

public ref class CallSiteBinder abstract
public abstract class CallSiteBinder
type CallSiteBinder = class
Public MustInherit Class CallSiteBinder
Inheritance
CallSiteBinder
Derived

Constructors

CallSiteBinder()

Initializes a new instance of the CallSiteBinder class.

Properties

UpdateLabel

Gets a label that can be used to cause the binding to be updated. It indicates that the expression's binding is no longer valid. This is typically used when the "version" of a dynamic object has changed.

Methods

Bind(Object[], ReadOnlyCollection<ParameterExpression>, LabelTarget)

Performs the runtime binding of the dynamic operation on a set of arguments.

BindDelegate<T>(CallSite<T>, Object[])

Provides low-level runtime binding support. Classes can override this and provide a direct delegate for the implementation of rule. This can enable saving rules to disk, having specialized rules available at runtime, or providing a different caching policy.

CacheTarget<T>(T)

Adds a target to the cache of known targets. The cached targets will be scanned before calling BindDelegate to produce the new rule.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to