C# Class System.Linq.Expressions.IndexExpression

Inheritance: Expression, IArgumentProvider
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
GetArgument ( int index ) : Expression

Gets the argument expression with the specified index.

Update ( Expression @object, IEnumerable arguments ) : IndexExpression

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
IndexExpression ( Expression instance, PropertyInfo indexer, IReadOnlyList arguments ) : System.Collections.Generic
Rewrite ( Expression instance, Expression arguments ) : Expression

Method Details

Accept() protected method

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

GetArgument() public method

Gets the argument expression with the specified index.
public GetArgument ( int index ) : Expression
index int The index of the argument expression to get.
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 @object, IEnumerable arguments ) : IndexExpression
@object Expression
arguments IEnumerable The property of the result.
return IndexExpression