C# Class System.Linq.Expressions.ConditionalExpression

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

Méthodes publiques

Méthode Description
Update ( Expression test, Expression ifTrue, Expression ifFalse ) : ConditionalExpression

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
ConditionalExpression ( Expression test, Expression ifTrue ) : System.Dynamic.Utils
GetFalse ( ) : Expression
Make ( Expression test, Expression ifTrue, Expression ifFalse, Type type ) : ConditionalExpression

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

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 test, Expression ifTrue, Expression ifFalse ) : ConditionalExpression
test Expression The property of the result.
ifTrue Expression The property of the result.
ifFalse Expression The property of the result.
Résultat ConditionalExpression