C# Class Microsoft.CSharp.RuntimeBinder.CSharpGetIndexBinder

Inheritance: System.Dynamic.GetIndexBinder
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CSharpGetIndexBinder ( Type callingContext, IEnumerable argumentInfo ) : System

Initializes a new instance of the CSharpGetIndexBinder.

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

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

Method Details

CSharpGetIndexBinder() public méthode

Initializes a new instance of the CSharpGetIndexBinder.
public CSharpGetIndexBinder ( Type callingContext, IEnumerable argumentInfo ) : System
callingContext System.Type The that indicates where this operation is defined.
argumentInfo IEnumerable The sequence of instances for the arguments to this operation.
Résultat System

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 errorSuggestion ) : DynamicMetaObject
target System.Dynamic.DynamicMetaObject The target of the dynamic get index operation.
indexes System.Dynamic.DynamicMetaObject The arguments of the dynamic get index operation.
errorSuggestion System.Dynamic.DynamicMetaObject The binding result to use if binding fails, or null.
Résultat System.Dynamic.DynamicMetaObject