C# Class PropertyTranslator.PropertyVisitor

Expression visitor resolving and performing registered property translations.
Inheritance: System.Linq.Expressions.ExpressionVisitor
Afficher le fichier Open project: peschuster/PropertyTranslator

Méthodes publiques

Méthode Description
PropertyVisitor ( ) : System

Initializes a new instance of the PropertyVisitor class with default TranslationMap.

PropertyVisitor ( TranslationMap map ) : System

Initializes a new instance of the PropertyVisitor class.

Méthodes protégées

Méthode Description
VisitMember ( MemberExpression node ) : Expression

Visits the member.

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

Visits the parameter.

Private Methods

Méthode Description
EnsureTypeInitialized ( Type type ) : void

Ensures that the static fields on the reflected type are initialized.

IsBuildOnInterface ( MemberExpression node ) : bool

Determines whether the query was build towards an interface.

VisitCompiledExpression ( CompiledExpression compiledExpression, Expression expression ) : Expression

Method Details

PropertyVisitor() public méthode

Initializes a new instance of the PropertyVisitor class with default TranslationMap.
public PropertyVisitor ( ) : System
Résultat System

PropertyVisitor() public méthode

Initializes a new instance of the PropertyVisitor class.
public PropertyVisitor ( TranslationMap map ) : System
map TranslationMap The translation map.
Résultat System

VisitMember() protected méthode

Visits the member.
protected VisitMember ( MemberExpression node ) : Expression
node System.Linq.Expressions.MemberExpression The node.
Résultat System.Linq.Expressions.Expression

VisitParameter() protected méthode

Visits the parameter.
protected VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
p System.Linq.Expressions.ParameterExpression The parameter expression.
Résultat System.Linq.Expressions.Expression