แก้ไข

แชร์ผ่าน


CallSite<T> Class

Definition

Dynamic site type.

generic <typename T>
 where T : classpublic ref class CallSite : System::Runtime::CompilerServices::CallSite
generic <typename T>
 where T : classpublic ref class CallSite sealed : System::Runtime::CompilerServices::CallSite
public class CallSite<T> : System.Runtime.CompilerServices.CallSite where T : class
public sealed class CallSite<T> : System.Runtime.CompilerServices.CallSite where T : class
type CallSite<'T (requires 'T : null)> = class
    inherit CallSite
Public Class CallSite(Of T)
Inherits CallSite
Public NotInheritable Class CallSite(Of T)
Inherits CallSite

Type Parameters

T

The delegate type.

Inheritance
CallSite<T>

Fields

Target

The Level 0 cache - a delegate specialized based on the site history.

Properties

Binder

Class responsible for binding dynamic operations on the dynamic site.

(Inherited from CallSite)
Update

The update delegate. Called when the dynamic site experiences cache miss.

Methods

Create(CallSiteBinder)

Creates an instance of the dynamic call site, initialized with the binder responsible for the runtime binding of the dynamic operations at this call site.

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