public TestDeck(ITranslatorFactory zTranslatorFactory) { CardLayout = new ProjectLayout() { defaultCount = 10 }; TranslatorFactory = zTranslatorFactory; }
static SPSearch() { // factories setup var operandBuilder = new OperandBuilder(); var operationResultBuilder = new OperationResultBuilder(); var analyzerFactory = new AnalyzerFactory(operandBuilder, operationResultBuilder); TranslatorFactory = new TranslatorFactory(analyzerFactory); }
static Camlex() { // factories setup var operandBuilder = new OperandBuilder(); var operationResultBuilder = new OperationResultBuilder(); var analyzerFactory = new AnalyzerFactory(operandBuilder, operationResultBuilder); translatorFactory = new TranslatorFactory(analyzerFactory); // re var reoperandBuilder = new ReOperandBuilderFromCaml(); var reanalyzerFactory = new ReAnalyzerFromCamlFactory(reoperandBuilder); retranslatorFactory = new ReTranslatorFromCamlFactory(reanalyzerFactory); relinkerFactory = new ReLinkerFromCamlFactory(); }
public Join(ITranslatorFactory translatorFactory, List <XElement> joins) { this.translatorFactory = translatorFactory; this.joins = joins; }
public NumbersTranslator(ITranslatorFactory factory) { this.factory = factory; }
public Query(ITranslatorFactory translatorFactory, IReTranslatorFactory reTranslatorFactory) { this.translatorFactory = translatorFactory; this.reTranslatorFactory = reTranslatorFactory; }
public ProjectedField(ITranslatorFactory translatorFactory, List <XElement> fields) { this.translatorFactory = translatorFactory; this.fields = fields; }
public Query(ITranslatorFactory translatorFactory) { this.translatorFactory = translatorFactory; }
public ProjectRepository(IDatabaseConfiguration configuration, ITranslatorFactory translatorFactory) : base(configuration.ToConnection()) { _translator = translatorFactory.CreateProjectTranslator(); _repoCounter = new Repository <Counter>(configuration.ToConnection()); }
public SearchQuery(ITranslatorFactory translatorFactory) { this._translatorFactory = translatorFactory; }
public FullTextSqlQueryBuilder(ITranslatorFactory translatorFactory) : base(translatorFactory) { }