C# Class Microsoft.CSharp.RuntimeBinder.CSharpInvokeBinder

Represents a dynamic delegate-like call in C#, providing the binding semantics and the details about the operation. Instances of this class are generated by the C# compiler.
Inheritance: System.Dynamic.InvokeBinder, ICSharpInvokeOrInvokeMemberBinder
Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CSharpInvokeBinder ( CSharpCallFlags flags, Type callingContext, IEnumerable argumentInfo ) : System

Initializes a new instance of the CSharpInvokeBinder.

FallbackInvoke ( DynamicMetaObject target, DynamicMetaObject args, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

Performs the binding of the dynamic invoke operation if the target dynamic object cannot bind.

Method Details

CSharpInvokeBinder() public method

Initializes a new instance of the CSharpInvokeBinder.
public CSharpInvokeBinder ( CSharpCallFlags flags, Type callingContext, IEnumerable argumentInfo ) : System
flags CSharpCallFlags Extra information about this operation that is not specific to any particular argument.
callingContext System.Type The that indicates where this operation is defined.
argumentInfo IEnumerable The sequence of instances for the arguments to this operation.
return System

FallbackInvoke() public method

Performs the binding of the dynamic invoke operation if the target dynamic object cannot bind.
public FallbackInvoke ( DynamicMetaObject target, DynamicMetaObject args, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target System.Dynamic.DynamicMetaObject The target of the dynamic invoke operation.
args System.Dynamic.DynamicMetaObject The arguments of the dynamic invoke operation.
errorSuggestion System.Dynamic.DynamicMetaObject The binding result to use if binding fails, or null.
return System.Dynamic.DynamicMetaObject