Пример #1
0
 public TestDeck(ITranslatorFactory zTranslatorFactory)
 {
     CardLayout = new ProjectLayout()
     {
         defaultCount = 10
     };
     TranslatorFactory = zTranslatorFactory;
 }
Пример #2
0
 static SPSearch()
 {
     // factories setup
     var operandBuilder = new OperandBuilder();
     var operationResultBuilder = new OperationResultBuilder();
     var analyzerFactory = new AnalyzerFactory(operandBuilder, operationResultBuilder);
     TranslatorFactory = new TranslatorFactory(analyzerFactory);
 }
Пример #3
0
        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();
        }
Пример #4
0
 public Join(ITranslatorFactory translatorFactory, List <XElement> joins)
 {
     this.translatorFactory = translatorFactory;
     this.joins             = joins;
 }
Пример #5
0
 public NumbersTranslator(ITranslatorFactory factory)
 {
     this.factory = factory;
 }
Пример #6
0
 public Query(ITranslatorFactory translatorFactory, IReTranslatorFactory reTranslatorFactory)
 {
     this.translatorFactory   = translatorFactory;
     this.reTranslatorFactory = reTranslatorFactory;
 }
Пример #7
0
 public ProjectedField(ITranslatorFactory translatorFactory, List <XElement> fields)
 {
     this.translatorFactory = translatorFactory;
     this.fields            = fields;
 }
Пример #8
0
 public Query(ITranslatorFactory translatorFactory)
 {
     this.translatorFactory = translatorFactory;
 }
Пример #9
0
 public ProjectRepository(IDatabaseConfiguration configuration,
                          ITranslatorFactory translatorFactory) : base(configuration.ToConnection())
 {
     _translator  = translatorFactory.CreateProjectTranslator();
     _repoCounter = new Repository <Counter>(configuration.ToConnection());
 }
Пример #10
0
 public SearchQuery(ITranslatorFactory translatorFactory)
 {
     this._translatorFactory = translatorFactory;
 }
 public FullTextSqlQueryBuilder(ITranslatorFactory translatorFactory)
     : base(translatorFactory)
 {
 }
Пример #12
0
 public FullTextSqlQueryBuilder(ITranslatorFactory translatorFactory) : base(translatorFactory)
 {
 }