C# Class System.Linq.Expressions.UnaryExpression

Inheritance: Expression
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
FunctionalOp UnaryExpression
ReduceIndex Expression
ReduceMember Expression
ReduceVariable Expression
UnaryExpression System.Diagnostics

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
Accept ( ExpressionVisitor visitor ) : Expression

Dispatches to the specific visit method for this node type.

Private Methods

Méthode Description
FunctionalOp ( Expression operand ) : UnaryExpression
ReduceIndex ( ) : Expression
ReduceMember ( ) : Expression
ReduceVariable ( ) : Expression
UnaryExpression ( ExpressionType nodeType, Expression expression, Type type, MethodInfo method ) : System.Diagnostics

Method Details

Accept() protected méthode

Dispatches to the specific visit method for this node type.
protected Accept ( ExpressionVisitor visitor ) : Expression
visitor ExpressionVisitor
Résultat Expression

Reduce() public méthode

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
Résultat Expression

Update() public méthode

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.
Résultat UnaryExpression