C# Class System.Dynamic.GetIndexBinder

Represents the dynamic get index operation at the call site, providing the binding semantic and the details about the operation.
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 get index operation.

FallbackGetIndex ( DynamicMetaObject target, DynamicMetaObject indexes ) : DynamicMetaObject

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

FallbackGetIndex ( DynamicMetaObject target, DynamicMetaObject indexes, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

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

Méthodes protégées

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

Initializes a new instance of the GetIndexBinder.

Method Details

Bind() public final méthode

Performs the binding of the dynamic get index operation.
public final Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic get index operation.
args DynamicMetaObject An array of arguments of the dynamic get index operation.
Résultat DynamicMetaObject

FallbackGetIndex() public méthode

Performs the binding of the dynamic get index operation if the target dynamic object cannot bind.
public FallbackGetIndex ( DynamicMetaObject target, DynamicMetaObject indexes ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic get index operation.
indexes DynamicMetaObject The arguments of the dynamic get index operation.
Résultat DynamicMetaObject

FallbackGetIndex() public abstract méthode

When overridden in the derived class, performs the binding of the dynamic get index operation if the target dynamic object cannot bind.
public abstract FallbackGetIndex ( DynamicMetaObject target, DynamicMetaObject indexes, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic get index operation.
indexes DynamicMetaObject The arguments of the dynamic get index operation.
errorSuggestion DynamicMetaObject The binding result to use if binding fails, or null.
Résultat DynamicMetaObject

GetIndexBinder() protected méthode

Initializes a new instance of the GetIndexBinder.
protected GetIndexBinder ( CallInfo callInfo ) : System.Dynamic.Utils
callInfo CallInfo The signature of the arguments at the call site.
Résultat System.Dynamic.Utils