C# Класс Microsoft.CSharp.RuntimeBinder.CSharpSetIndexBinder

Represents a dynamic indexer access in C#, providing the binding semantics and the details about the operation. Instances of this class are generated by the C# compiler.
Наследование: System.Dynamic.SetIndexBinder
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
CSharpSetIndexBinder ( bool isCompoundAssignment, bool isChecked, Type callingContext, IEnumerable argumentInfo ) : System

Initializes a new instance of the CSharpSetIndexBinder.

FallbackSetIndex ( DynamicMetaObject target, DynamicMetaObject indexes, DynamicMetaObject value, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

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

Описание методов

CSharpSetIndexBinder() публичный Метод

Initializes a new instance of the CSharpSetIndexBinder.
public CSharpSetIndexBinder ( bool isCompoundAssignment, bool isChecked, Type callingContext, IEnumerable argumentInfo ) : System
isCompoundAssignment bool True if the assignment comes from a compound assignment in source.
isChecked bool
callingContext System.Type The that indicates where this operation is defined.
argumentInfo IEnumerable The sequence of instances for the arguments to this operation.
Результат System

FallbackSetIndex() публичный Метод

Performs the binding of the dynamic set index operation if the target dynamic object cannot bind.
public FallbackSetIndex ( DynamicMetaObject target, DynamicMetaObject indexes, DynamicMetaObject value, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target System.Dynamic.DynamicMetaObject The target of the dynamic set index operation.
indexes System.Dynamic.DynamicMetaObject The arguments of the dynamic set index operation.
value System.Dynamic.DynamicMetaObject The value to set to the collection.
errorSuggestion System.Dynamic.DynamicMetaObject The binding result to use if binding fails, or null.
Результат System.Dynamic.DynamicMetaObject