C# Класс Microsoft.Linq.Expressions.ListInitExpression

Наследование: Expression
Показать файл Открыть проект

Открытые методы

Метод Описание
Reduce ( ) : Expression

Reduces the binary expression node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method is allowed to return another node which itself must be reduced.

Update ( Microsoft.Linq.Expressions.NewExpression newExpression, IEnumerable initializers ) : ListInitExpression

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.

Защищенные методы

Метод Описание
Accept ( ExpressionVisitor visitor ) : Expression

Dispatches to the specific visit method for this node type.

Приватные методы

Метод Описание
ListInitExpression ( Microsoft.Linq.Expressions.NewExpression newExpression, ReadOnlyCollection initializers ) : System

Описание методов

Accept() защищенный Метод

Dispatches to the specific visit method for this node type.
protected Accept ( ExpressionVisitor visitor ) : Expression
visitor ExpressionVisitor
Результат Expression

Reduce() публичный Метод

Reduces the binary expression node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method is allowed to return another node which itself must be reduced.
public Reduce ( ) : Expression
Результат Expression

Update() публичный Метод

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 ( Microsoft.Linq.Expressions.NewExpression newExpression, IEnumerable initializers ) : ListInitExpression
newExpression Microsoft.Linq.Expressions.NewExpression The property of the result.
initializers IEnumerable The property of the result.
Результат ListInitExpression