C# Класс System.Linq.Expressions.SwitchExpression

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

Private Properties

Свойство Тип Описание
SwitchExpression System.Collections.Generic

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

Метод Описание
Update ( Expression switchValue, IEnumerable cases, Expression defaultBody ) : SwitchExpression

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.

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

Метод Описание
SwitchExpression ( Type type, Expression switchValue, Expression defaultBody, MethodInfo comparison, ReadOnlyCollection cases ) : System.Collections.Generic

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

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

Dispatches to the specific visit method for this node type.
protected Accept ( ExpressionVisitor visitor ) : Expression
visitor ExpressionVisitor
Результат 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 ( Expression switchValue, IEnumerable cases, Expression defaultBody ) : SwitchExpression
switchValue Expression The property of the result.
cases IEnumerable The property of the result.
defaultBody Expression The property of the result.
Результат SwitchExpression