C# Class Marten.Linq.Parsing.StringComparisonParser

Inheritance: IMethodCallParser
Afficher le fichier Open project: JasperFx/marten

Méthodes publiques

Méthode Description
FormatValue ( MethodInfo method, string value ) : string

Formats the string value as appropriate for the comparison.

Matches ( MethodCallExpression expression ) : bool
Parse ( IQueryableDocument mapping, ISerializer serializer, MethodCallExpression expression ) : IWhereFragment
StringComparisonParser ( ) : System

Méthodes protégées

Méthode Description
AreMethodsEqual ( MethodInfo method1, MethodInfo method2 ) : bool
GetLocator ( IQueryableDocument mapping, MethodCallExpression expression ) : string

Returns a locator for the member being queried upon

GetOperator ( MethodCallExpression expression ) : string

Returns the operator to emit (e.g. LIKE/ILIKE).

IsCaseInsensitiveComparison ( MethodCallExpression expression ) : bool

Method Details

AreMethodsEqual() protected méthode

protected AreMethodsEqual ( MethodInfo method1, MethodInfo method2 ) : bool
method1 System.Reflection.MethodInfo
method2 System.Reflection.MethodInfo
Résultat bool

FormatValue() public abstract méthode

Formats the string value as appropriate for the comparison.
public abstract FormatValue ( MethodInfo method, string value ) : string
method System.Reflection.MethodInfo
value string
Résultat string

GetLocator() protected méthode

Returns a locator for the member being queried upon
protected GetLocator ( IQueryableDocument mapping, MethodCallExpression expression ) : string
mapping IQueryableDocument
expression System.Linq.Expressions.MethodCallExpression
Résultat string

GetOperator() protected méthode

Returns the operator to emit (e.g. LIKE/ILIKE).
protected GetOperator ( MethodCallExpression expression ) : string
expression System.Linq.Expressions.MethodCallExpression
Résultat string

IsCaseInsensitiveComparison() protected méthode

protected IsCaseInsensitiveComparison ( MethodCallExpression expression ) : bool
expression System.Linq.Expressions.MethodCallExpression
Résultat bool

Matches() public méthode

public Matches ( MethodCallExpression expression ) : bool
expression System.Linq.Expressions.MethodCallExpression
Résultat bool

Parse() public méthode

public Parse ( IQueryableDocument mapping, ISerializer serializer, MethodCallExpression expression ) : IWhereFragment
mapping IQueryableDocument
serializer ISerializer
expression System.Linq.Expressions.MethodCallExpression
Résultat IWhereFragment

StringComparisonParser() public méthode

public StringComparisonParser ( ) : System
Résultat System