C# Class System.Linq.Expressions.NewExpression

Inheritance: Expression, IArgumentProvider
Mostrar archivo Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
GetArgument ( int index ) : Expression

Gets the argument expression with the specified index.

Update ( IEnumerable arguments ) : NewExpression

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
NewExpression ( ConstructorInfo constructor, IReadOnlyList arguments, ReadOnlyCollection members ) : 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

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 ( IEnumerable arguments ) : NewExpression
arguments IEnumerable The property of the result.
return NewExpression