C# Class Jarstan.ContentSearch.Linq.Parsing.AzureExpressionParser

Inheritance: ExpressionParser
Exibir arquivo Open project: jscott1277/SitecoreAzureSearchProvider Class Usage Examples

Public Methods

Method Description
AzureExpressionParser ( Type elementType, Type itemType, FieldNameTranslator fieldNameTranslator ) : Sitecore.ContentSearch.Linq
Parse ( Expression expression ) : IndexQuery

Protected Methods

Method Description
EvaluateMethodCall ( MethodCallExpression methodCall ) : QueryNode
ValidateMethodCallArguments ( IEnumerable arguments ) : void
Visit ( Expression expression ) : QueryNode
VisitGetHighlightResultsMethod ( MethodCallExpression methodCall ) : QueryNode
VisitHighlightOnMethod ( MethodCallExpression methodCall ) : QueryNode
VisitMethodCall ( MethodCallExpression methodCall ) : QueryNode
VisitQueryableExtensionMethod ( MethodCallExpression methodCall ) : QueryNode

Private Methods

Method Description
VisitIndex ( IndexExpression expression ) : QueryNode

Method Details

AzureExpressionParser() public method

public AzureExpressionParser ( Type elementType, Type itemType, FieldNameTranslator fieldNameTranslator ) : Sitecore.ContentSearch.Linq
elementType System.Type
itemType System.Type
fieldNameTranslator FieldNameTranslator
return Sitecore.ContentSearch.Linq

EvaluateMethodCall() protected method

protected EvaluateMethodCall ( MethodCallExpression methodCall ) : QueryNode
methodCall System.Linq.Expressions.MethodCallExpression
return QueryNode

Parse() public method

public Parse ( Expression expression ) : IndexQuery
expression System.Linq.Expressions.Expression
return IndexQuery

ValidateMethodCallArguments() protected method

protected ValidateMethodCallArguments ( IEnumerable arguments ) : void
arguments IEnumerable
return void

Visit() protected method

protected Visit ( Expression expression ) : QueryNode
expression System.Linq.Expressions.Expression
return QueryNode

VisitGetHighlightResultsMethod() protected method

protected VisitGetHighlightResultsMethod ( MethodCallExpression methodCall ) : QueryNode
methodCall System.Linq.Expressions.MethodCallExpression
return QueryNode

VisitHighlightOnMethod() protected method

protected VisitHighlightOnMethod ( MethodCallExpression methodCall ) : QueryNode
methodCall System.Linq.Expressions.MethodCallExpression
return QueryNode

VisitMethodCall() protected method

protected VisitMethodCall ( MethodCallExpression methodCall ) : QueryNode
methodCall System.Linq.Expressions.MethodCallExpression
return QueryNode

VisitQueryableExtensionMethod() protected method

protected VisitQueryableExtensionMethod ( MethodCallExpression methodCall ) : QueryNode
methodCall System.Linq.Expressions.MethodCallExpression
return QueryNode