C# Class System.Linq.Expressions.IndexExpression

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

Méthodes publiques

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

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

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

GetArgument() public méthode

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