示例#1
0
 public ExpandableQueryTranslationPreprocessorFactory(ExpandableQueryTranslationPreprocessorOptions options,
                                                      QueryTranslationPreprocessorDependencies dependencies,
                                                      TInnerFactory innerFactory)
 {
     _options      = options ?? throw new ArgumentNullException(nameof(options));
     _dependencies = dependencies ?? throw new ArgumentNullException(nameof(dependencies));
     _innerFactory = innerFactory ?? throw new ArgumentNullException(nameof(innerFactory));
 }
示例#2
0
 public ExpandableQueryTranslationPreprocessor(ExpandableQueryTranslationPreprocessorOptions options,
                                               QueryTranslationPreprocessorDependencies dependencies,
                                               QueryCompilationContext queryCompilationContext,
                                               QueryTranslationPreprocessor innerPreprocessor)
     : base(dependencies, queryCompilationContext)
 {
     _options           = options ?? throw new ArgumentNullException(nameof(options));
     _innerPreprocessor = innerPreprocessor ?? throw new ArgumentNullException(nameof(innerPreprocessor));
 }