C# Class Microsoft.CSharp.RuntimeBinder.CSharpInvokeMemberBinder

Represents a dynamic method 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.InvokeMemberBinder, ICSharpInvokeOrInvokeMemberBinder
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CSharpInvokeMemberBinder ( CSharpCallFlags flags, string name, Type callingContext, IEnumerable typeArguments, IEnumerable argumentInfo ) : System

Initializes a new instance of the CSharpInvokeMemberBinder.

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

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

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

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

Method Details

CSharpInvokeMemberBinder() public method

Initializes a new instance of the CSharpInvokeMemberBinder.
public CSharpInvokeMemberBinder ( CSharpCallFlags flags, string name, Type callingContext, IEnumerable typeArguments, IEnumerable argumentInfo ) : System
flags CSharpCallFlags Extra information about this operation that is not specific to any particular argument.
name string The name of the member to invoke.
callingContext System.Type The that indicates where this operation is defined.
typeArguments IEnumerable The list of user-specified type arguments to this call.
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

FallbackInvokeMember() public method

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