System.Linq.Expressions.SwitchCase Members

The members of System.Linq.Expressions.SwitchCase are listed below.

See Also: Inherited members from System.Object

Public Properties

[read-only]
BodyExpression.

Gets the body of this case.

[read-only]
TestValuesSystem.Collections.ObjectModel.ReadOnlyCollection<Expression>.

Gets the values of this case. This case is selected for execution when the SwitchExpression.SwitchValue matches any of these values.

Public Methods

override
ToString() : string

Returns a string that represents the current object.

Update(IEnumerable<Expression>, Expression) : SwitchCase

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.