C# Класс System.Linq.Expressions.UnaryExpression

Наследование: Expression
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FunctionalOp UnaryExpression
ReduceIndex Expression
ReduceMember Expression
ReduceVariable Expression
UnaryExpression System.Diagnostics

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

Метод Описание
Reduce ( ) : Expression

Reduces the expression node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method is allowed to return another node which itself must be reduced.

Update ( Expression operand ) : UnaryExpression

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

Защищенные методы

Метод Описание
Accept ( ExpressionVisitor visitor ) : Expression

Dispatches to the specific visit method for this node type.

Приватные методы

Метод Описание
FunctionalOp ( Expression operand ) : UnaryExpression
ReduceIndex ( ) : Expression
ReduceMember ( ) : Expression
ReduceVariable ( ) : Expression
UnaryExpression ( ExpressionType nodeType, Expression expression, Type type, MethodInfo method ) : System.Diagnostics

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

Accept() защищенный Метод

Dispatches to the specific visit method for this node type.
protected Accept ( ExpressionVisitor visitor ) : Expression
visitor ExpressionVisitor
Результат Expression

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

Reduces the expression node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method is allowed to return another node which itself must be reduced.
public Reduce ( ) : Expression
Результат Expression

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

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.
public Update ( Expression operand ) : UnaryExpression
operand Expression The property of the result.
Результат UnaryExpression