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

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

공개 메소드들

메소드 설명
Reduce ( ) : Expression

Reduces the MemberInitExpression 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 ( NewExpression newExpression, IEnumerable bindings ) : MemberInitExpression

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.

비공개 메소드들

메소드 설명
MemberInitExpression ( NewExpression newExpression, ReadOnlyCollection bindings ) : System.Collections.Generic
ReduceListInit ( Expression listExpression, ReadOnlyCollection initializers, bool keepOnStack ) : Expression
ReduceMemberBinding ( System.Linq.Expressions.ParameterExpression objVar, MemberBinding binding ) : Expression
ReduceMemberInit ( Expression objExpression, ReadOnlyCollection bindings, bool keepOnStack ) : Expression

메소드 상세

Accept() 보호된 메소드

Dispatches to the specific visit method for this node type.
protected Accept ( ExpressionVisitor visitor ) : Expression
visitor ExpressionVisitor
리턴 Expression

Reduce() 공개 메소드

Reduces the MemberInitExpression 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 ( NewExpression newExpression, IEnumerable bindings ) : MemberInitExpression
newExpression NewExpression The property of the result.
bindings IEnumerable The property of the result.
리턴 MemberInitExpression