Export (0) Print
Expand All

CallSiteBinder.BindDelegate<T> Method

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)

public virtual T BindDelegate<T>(
	CallSite<T> site,
	Object[] args
)
where T : class

Type Parameters

T

The target type of the CallSite.

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.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft