C# Class ExoModel.ModelPath.PathBuilder

Builds a ModelPath based on the specified Expression.
Inheritance: ModelExpression.ExpressionVisitor
ファイルを表示 Open project: vc3/ExoModel

Protected Methods

Method Description
VisitMemberAccess ( MemberExpression m ) : Expression
VisitMethodCall ( MethodCallExpression m ) : Expression
VisitModelCastExpression ( ModelExpression m ) : Expression
VisitModelMember ( ModelExpression m ) : Expression
VisitModelParameter ( ModelExpression p ) : Expression
VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
VisitUnary ( UnaryExpression u ) : Expression

Private Methods

Method Description
Build ( ModelType rootType, Expression expression ) : ModelPath
Build ( ) : void

Method Details

VisitMemberAccess() protected method

protected VisitMemberAccess ( MemberExpression m ) : Expression
m System.Linq.Expressions.MemberExpression
return System.Linq.Expressions.Expression

VisitMethodCall() protected method

protected VisitMethodCall ( MethodCallExpression m ) : Expression
m System.Linq.Expressions.MethodCallExpression
return System.Linq.Expressions.Expression

VisitModelCastExpression() protected method

protected VisitModelCastExpression ( ModelExpression m ) : Expression
m ModelExpression
return System.Linq.Expressions.Expression

VisitModelMember() protected method

protected VisitModelMember ( ModelExpression m ) : Expression
m ModelExpression
return System.Linq.Expressions.Expression

VisitModelParameter() protected method

protected VisitModelParameter ( ModelExpression p ) : Expression
p ModelExpression
return System.Linq.Expressions.Expression

VisitParameter() protected method

protected VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
p System.Linq.Expressions.ParameterExpression
return System.Linq.Expressions.Expression

VisitUnary() protected method

protected VisitUnary ( UnaryExpression u ) : Expression
u System.Linq.Expressions.UnaryExpression
return System.Linq.Expressions.Expression