Пример #1
0
 public GraphSessionFactory(IQueryExecutorFactory queryExecutorFactory, IRepositoryFactory repositoryFactory, IEntityStateCacheFactory entityStateFactory, IProxyFactory proxyFactory)
 {
     _queryExecutorFactory = queryExecutorFactory;
     _repositoryFactory    = repositoryFactory;
     _listeners            = new List <IListener>();
     _entityStateFactory   = entityStateFactory;
     _proxyFactory         = proxyFactory;
 }
Пример #2
0
 public GraphSession(IUnitOfWork uow, IEnumerable <IListener> listeners, IQueryExecutorFactory queryExecutorFactory, IRepositoryFactory repositoryFactory, IEntityStateCache state, IProxyFactory proxyFactory)
 {
     _repositories         = new ConcurrentDictionary <Type, IRepository>();
     _uow                  = uow;
     _listeners            = listeners.ToList();
     _queryExecutorFactory = queryExecutorFactory;
     _repositoryFactory    = repositoryFactory;
     _state                = state;
     _proxyFactory         = proxyFactory;
 }
Пример #3
0
 public SyncController(IYandexService yandexService, IAuthorizationSettings authorizationSettings,
                       IDomainService domainService, ITrackGetter trackGetter, IProgressBar progressBar,
                       IImportResultLogger importResultLogger, IQueryExecutorFactory queryExecutorFactory,
                       ITempSessionService tempSessionService
                       )
 {
     this.yandexService         = yandexService;
     this.authorizationSettings = authorizationSettings;
     this.domainService         = domainService;
     this.trackGetter           = trackGetter;
     this.progressBar           = progressBar;
     this.importResultLogger    = importResultLogger;
     this.queryExecutorFactory  = queryExecutorFactory;
     this.tempSessionService    = tempSessionService;
 }
Пример #4
0
 public SyncWizardController(ITempSessionService tempSessionService, ITrackGetter trackGetter,
                             IQueryExecutorFactory queryExecutorFactory,
                             IYandexService yandexService, IAuthorizationSettings authorizationSettings,
                             IJsonSerializer jsonSerializer,
                             IJsonTrackGetter jsonTrackGetter,
                             IDomainService domainService,
                             IProgressBar progressBar,
                             IImportResultLogger importResultLogger,
                             ICaptcha captcha)
 {
     this.tempSessionService    = tempSessionService;
     this.trackGetter           = trackGetter;
     this.queryExecutorFactory  = queryExecutorFactory;
     this.yandexService         = yandexService;
     this.authorizationSettings = authorizationSettings;
     this.jsonSerializer        = jsonSerializer;
     this.jsonTrackGetter       = jsonTrackGetter;
     this.domainService         = domainService;
     this.progressBar           = progressBar;
     this.importResultLogger    = importResultLogger;
     this.captcha = captcha;
 }
Пример #5
0
 public QueryBus(IServiceProvider serviceProvider, IQueryExecutorFactory executorFactory)
 {
     _serviceProvider = serviceProvider;
     _executorFactory = executorFactory;
 }
Пример #6
0
 public ImageBayanService(IQueryExecutorFactory queryExecutorFactory, IImageHasher imageHasher)
 {
     this.queryExecutorFactory = queryExecutorFactory;
     this.imageHasher          = imageHasher;
 }
Пример #7
0
 public StudyController(IQueryExecutorFactory queryExecutorFactory, IXmlSerializer xmlSerializer, IJsonSerializer jsonSerializer)
 {
     this.queryExecutorFactory = queryExecutorFactory;
     this.xmlSerializer        = xmlSerializer;
     this.jsonSerializer       = jsonSerializer;
 }
Пример #8
0
 public QueryBus(IQueryExecutorFactory executorFactory)
 {
     this.executorFactory = executorFactory;
 }
Пример #9
0
 public MockedClass(IQueryExecutorFactory queryExecutorFactory, decimal unmockable1, IArrayed[] arrayeds, IClass clas, IClass clas2, IArrayed[] arrayeds2, int unmockable2)
 {
     _queryExecutorFactory = queryExecutorFactory;
     _arrayeds             = arrayeds;
     _clas = clas;
 }
Пример #10
0
        //protected IResolver ObjectResolver { get; }

        public QueryDispatcher(IQueryExecutorFactory executorFactory)
        {
            //  ObjectResolver = objectResolver;
            ExecutorFactory = executorFactory;
        }
Пример #11
0
 public TempSessionService(IQueryExecutorFactory queryExecutorFactory)
 {
     this.queryExecutorFactory = queryExecutorFactory;
 }
Пример #12
0
 public BayanServiceTest()
 {
     imageBayanService    = kernel.Get <IImageBayanService>();
     queryExecutorFactory = kernel.Get <IQueryExecutorFactory>();
 }
Пример #13
0
 public QueryDispatcher(IQueryExecutorFactory executorFactory)
 {
     ExecutorFactory = executorFactory;
 }
Пример #14
0
 public ImportResultLogger(IQueryExecutorFactory queryExecutorFactory)
 {
     this.queryExecutorFactory = queryExecutorFactory;
 }