C# Class System.Dynamic.InvokeBinder

Represents the invoke 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 operation.

FallbackInvoke ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject

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

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

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

Protected Methods

Method Description
InvokeBinder ( CallInfo callInfo ) : System.Dynamic.Utils

Initializes a new instance of the InvokeBinder.

Method Details

Bind() public final method

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

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
target DynamicMetaObject The target of the dynamic invoke operation.
args DynamicMetaObject The arguments of the dynamic invoke operation.
return DynamicMetaObject

FallbackInvoke() public abstract method

Performs the binding of the dynamic invoke operation if the target dynamic object cannot bind.
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

InvokeBinder() protected method

Initializes a new instance of the InvokeBinder.
protected InvokeBinder ( CallInfo callInfo ) : System.Dynamic.Utils
callInfo CallInfo The signature of the arguments at the call site.
return System.Dynamic.Utils