C# 클래스 Rebel.Framework.Expressions.Remotion.CustomQueryParser

Heavily based on the default QueryParser normally used in Relinq, but primary difference is that we need to establish a different ExpressionTreeParser with a custom DynamicTransformingExpressionTreeProcessor in place of the default TransformingExpressionTreeProcessor in order to avoid it from precompiling certain expressions such as those referencing DynamicMemberMetadata.GetMemberMethod in order to reference dynamic operations inside regular .NET 3.5 expression trees. Relinq doesn't support DynamicExpression from .NET 4 at time of writing.
상속: IQueryParser
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
CreateDefault ( ) : CustomQueryParser
CustomQueryParser ( Remotion.Linq.Parsing.Structure.ExpressionTreeParser expressionTreeParser ) : System.Linq.Expressions
GetParsedQuery ( Expression expressionTreeRoot ) : Remotion.Linq.QueryModel

보호된 메소드들

메소드 설명
EnsureCustomModifiersRegisteredWithRelinq ( ) : void

Ensures the custom modifiers are registered with Relinq.

비공개 메소드들

메소드 설명
ApplyAllNodes ( IExpressionNode node, Remotion.Linq.Parsing.Structure.IntermediateModel.ClauseGenerationContext clauseGenerationContext ) : Remotion.Linq.QueryModel

메소드 상세

CreateDefault() 공개 정적인 메소드

public static CreateDefault ( ) : CustomQueryParser
리턴 CustomQueryParser

CustomQueryParser() 공개 메소드

public CustomQueryParser ( Remotion.Linq.Parsing.Structure.ExpressionTreeParser expressionTreeParser ) : System.Linq.Expressions
expressionTreeParser Remotion.Linq.Parsing.Structure.ExpressionTreeParser
리턴 System.Linq.Expressions

EnsureCustomModifiersRegisteredWithRelinq() 보호된 메소드

Ensures the custom modifiers are registered with Relinq.
protected EnsureCustomModifiersRegisteredWithRelinq ( ) : void
리턴 void

GetParsedQuery() 공개 메소드

public GetParsedQuery ( Expression expressionTreeRoot ) : Remotion.Linq.QueryModel
expressionTreeRoot System.Linq.Expressions.Expression
리턴 Remotion.Linq.QueryModel