CallSiteBinder.BindDelegate<'T> Method (CallSite<'T>, Object[])
.NET Framework (current version)
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.
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: TA 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
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
Show: