C# Class System.Runtime.CompilerServices.CallSite

A Dynamic Call Site base class. This type is used as a parameter type to the dynamic site targets. The first parameter of the delegate (T) below must be of this type.
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Create ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder ) : CallSite

Creates a CallSite with the given delegate type and binder.

Private Methods

Method Description
CallSite ( System.Runtime.CompilerServices.CallSiteBinder binder ) : System.Collections.Generic

Method Details

Create() public static method

Creates a CallSite with the given delegate type and binder.
public static Create ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder ) : CallSite
delegateType Type The CallSite delegate type.
binder System.Runtime.CompilerServices.CallSiteBinder The CallSite binder.
return CallSite