C# Class System.Dynamic.CreateInstanceBinder

Inheritance: DynamicMetaObjectBinder
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
CreateInstanceBinder ( CallInfo callInfo ) : System.Dynamic.Utils

Initializes a new instance of the CreateInstanceBinder.

Method Details

Bind() public final méthode

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.
Résultat DynamicMetaObject

CreateInstanceBinder() protected méthode

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.
Résultat System.Dynamic.Utils

FallbackCreateInstance() public méthode

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.
Résultat DynamicMetaObject

FallbackCreateInstance() public abstract méthode

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.
Résultat DynamicMetaObject