CallSiteBinder.BindDelegate<'T> Method (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.

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

abstract BindDelegate<'T when 'T : not struct> : 
        site:CallSite<'T> *
        args:Object[] -> 'T
override BindDelegate<'T when 'T : not struct> : 
        site:CallSite<'T> *
        args:Object[] -> 'T

Parameters

site
Type: System.Runtime.CompilerServices.CallSite<'T>

The CallSite the bind is being performed for.

args
Type: System.Object[]

The arguments for the binder.

Return Value

Type: T

A new delegate which replaces the CallSite Target.

Type Parameters

T

The target type of the CallSite.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: