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

Represents a dynamic unary 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.UnaryOperationBinder
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

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

Initializes a new instance of the CSharpUnaryOperationBinder class.

FallbackUnaryOperation ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

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

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

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

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

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

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