コード例 #1
0
ファイル: QueryParts.cs プロジェクト: nutrija/revenj
 protected QueryParts(
     IServiceLocator locator,
     string contextName,
     IOracleConverterFactory factory,
     ParameterAggregator parameters,
     QueryContext context,
     IEnumerable<IQuerySimplification> simplifications,
     IEnumerable<IExpressionMatcher> expressionMatchers,
     IEnumerable<IMemberMatcher> memberMatchers,
     IEnumerable<IProjectionMatcher> projectionMatchers)
 {
     this.Locator = locator;
     this.ConverterFactory = factory;
     this.Parameters = parameters;
     this.Context = context;
     this.Simplifications = new List<IQuerySimplification>(simplifications);
     this.ExpressionMatchers = expressionMatchers;
     this.MemberMatchers = memberMatchers;
     this.ProjectionMatchers = projectionMatchers;
     this.ContextName = contextName;
 }
コード例 #2
0
 protected QueryParts(
     IServiceProvider locator,
     string contextName,
     IOracleConverterFactory factory,
     ParameterAggregator parameters,
     QueryContext context,
     IEnumerable <IQuerySimplification> simplifications,
     IEnumerable <IExpressionMatcher> expressionMatchers,
     IEnumerable <IMemberMatcher> memberMatchers,
     IEnumerable <IProjectionMatcher> projectionMatchers)
 {
     this.Locator            = locator;
     this.ConverterFactory   = factory;
     this.Parameters         = parameters;
     this.Context            = context;
     this.Simplifications    = new List <IQuerySimplification>(simplifications);
     this.ExpressionMatchers = expressionMatchers;
     this.MemberMatchers     = memberMatchers;
     this.ProjectionMatchers = projectionMatchers;
     this.ContextName        = contextName;
 }