C# Class System.Dynamic.CreateInstanceBinder

Inheritance: DynamicMetaObjectBinder
Show 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 create operation.

FallbackCreateInstance ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject

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

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

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

Protected Methods

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

Initializes a new instance of the CreateInstanceBinder.

Method Details

Bind() public final method

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

CreateInstanceBinder() protected method

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

FallbackCreateInstance() public method

Performs the binding of the dynamic create operation if the target dynamic object cannot bind.
public FallbackCreateInstance ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic create operation.
args DynamicMetaObject The arguments of the dynamic create operation.
return DynamicMetaObject

FallbackCreateInstance() public abstract method

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