C# Class System.Linq.Expressions.TryExpression

Inheritance: Expression
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Update ( Expression body, IEnumerable handlers, Expression @finally, Expression fault ) : TryExpression

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.

Protected Methods

Method Description
Accept ( ExpressionVisitor visitor ) : Expression

Dispatches to the specific visit method for this node type.

Private Methods

Method Description
TryExpression ( Type type, Expression body, Expression @finally, Expression fault, ReadOnlyCollection handlers ) : System.Collections.Generic

Method Details

Accept() protected method

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

Update() public method

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 body, IEnumerable handlers, Expression @finally, Expression fault ) : TryExpression
body Expression The property of the result.
handlers IEnumerable The property of the result.
@finally Expression
fault Expression The property of the result.
return TryExpression