C# Class System.Linq.Expressions.SwitchCase

Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Returns a String that represents the current Object.

Update ( IEnumerable testValues, Expression body ) : 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.

Private Methods

Method Description
SwitchCase ( Expression body, ReadOnlyCollection testValues ) : System.Collections.Generic

Method Details

ToString() public method

Returns a String that represents the current Object.
public ToString ( ) : string
return string

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 testValues, Expression body ) : SwitchCase
testValues IEnumerable The property of the result.
body Expression The property of the result.
return SwitchCase