C# Class Microsoft.CSharp.RuntimeBinder.CSharpGetIndexBinder

Inheritance: System.Dynamic.GetIndexBinder
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 method

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.
return System

FallbackGetIndex() public method

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.
return System.Dynamic.DynamicMetaObject