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

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

Private Properties

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

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

Метод Описание
CSharpBinaryOperationBinder ( ExpressionType operation, bool isChecked, CSharpBinaryOperationFlags binaryOperationFlags, Type callingContext, IEnumerable argumentInfo ) : System

Initializes a new instance of the CSharpBinaryOperationBinder class.

FallbackBinaryOperation ( DynamicMetaObject target, DynamicMetaObject arg, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

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

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

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

Initializes a new instance of the CSharpBinaryOperationBinder class.
public CSharpBinaryOperationBinder ( ExpressionType operation, bool isChecked, CSharpBinaryOperationFlags binaryOperationFlags, Type callingContext, IEnumerable argumentInfo ) : System
operation ExpressionType The binary operation kind.
isChecked bool True if the operation is defined in a checked context; otherwise false.
binaryOperationFlags CSharpBinaryOperationFlags The flags associated with this binary operation.
callingContext System.Type
argumentInfo IEnumerable The sequence of instances for the arguments to this operation.
Результат System

FallbackBinaryOperation() публичный закрытый Метод

Performs the binding of the binary dynamic operation if the target dynamic object cannot bind.
public final FallbackBinaryOperation ( DynamicMetaObject target, DynamicMetaObject arg, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target System.Dynamic.DynamicMetaObject The target of the dynamic binary operation.
arg System.Dynamic.DynamicMetaObject The right hand side operand of the dynamic binary operation.
errorSuggestion System.Dynamic.DynamicMetaObject The binding result in case the binding fails, or null.
Результат System.Dynamic.DynamicMetaObject