C# Class System.Dynamic.InvokeMemberBinder

Represents the invoke member dynamic operation at the call site, providing the binding semantic and the details about the operation.
Inheritance: DynamicMetaObjectBinder
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject

Performs the binding of the dynamic invoke member operation.

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

When overridden in the derived class, performs the binding of the dynamic invoke operation if the target dynamic object cannot bind.

This method is called by the target when the target implements the invoke member operation as a sequence of get member, and invoke, to let the DynamicMetaObject request the binding of the invoke operation only.

FallbackInvokeMember ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject

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

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

When overridden in the derived class, performs the binding of the dynamic invoke member operation if the target dynamic object cannot bind.

Protected Methods

Method Description
InvokeMemberBinder ( string name, bool ignoreCase, CallInfo callInfo ) : System.Dynamic.Utils

Initializes a new instance of the InvokeMemberBinder.

Method Details

Bind() public final method

Performs the binding of the dynamic invoke member operation.
public final Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic invoke member operation.
args DynamicMetaObject An array of arguments of the dynamic invoke member operation.
return DynamicMetaObject

FallbackInvoke() public abstract method

When overridden in the derived class, performs the binding of the dynamic invoke operation if the target dynamic object cannot bind.
This method is called by the target when the target implements the invoke member operation as a sequence of get member, and invoke, to let the DynamicMetaObject request the binding of the invoke operation only.
public abstract FallbackInvoke ( DynamicMetaObject target, DynamicMetaObject args, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic invoke operation.
args DynamicMetaObject The arguments of the dynamic invoke operation.
errorSuggestion DynamicMetaObject The binding result to use if binding fails, or null.
return 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
target DynamicMetaObject The target of the dynamic invoke member operation.
args DynamicMetaObject The arguments of the dynamic invoke member operation.
return DynamicMetaObject

FallbackInvokeMember() public abstract method

When overridden in the derived class, performs the binding of the dynamic invoke member operation if the target dynamic object cannot bind.
public abstract FallbackInvokeMember ( DynamicMetaObject target, DynamicMetaObject args, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic invoke member operation.
args DynamicMetaObject The arguments of the dynamic invoke member operation.
errorSuggestion DynamicMetaObject The binding result to use if binding fails, or null.
return DynamicMetaObject

InvokeMemberBinder() protected method

Initializes a new instance of the InvokeMemberBinder.
protected InvokeMemberBinder ( string name, bool ignoreCase, CallInfo callInfo ) : System.Dynamic.Utils
name string The name of the member to invoke.
ignoreCase bool true if the name should be matched ignoring case; false otherwise.
callInfo CallInfo The signature of the arguments at the call site.
return System.Dynamic.Utils