C# Class System.Linq.Expressions.MethodCallExpression

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

Private Properties

Property Type Description
GetArgument Expression
GetInstance Expression
GetOrMakeArguments ReadOnlyCollection
MethodCallExpression System.Collections.Generic
Rewrite MethodCallExpression

Public Methods

Method Description
Update ( Expression @object, IEnumerable arguments ) : MethodCallExpression

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
GetArgument ( int index ) : Expression
GetInstance ( ) : Expression
GetOrMakeArguments ( ) : ReadOnlyCollection
MethodCallExpression ( MethodInfo method ) : System.Collections.Generic
Rewrite ( Expression instance, IReadOnlyList args ) : MethodCallExpression

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 @object, IEnumerable arguments ) : MethodCallExpression
@object Expression
arguments IEnumerable The property of the result.
return MethodCallExpression