C# 클래스 System.Linq.Expressions.SwitchExpression

상속: Expression
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

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