コード例 #1
0
        public DocCommunicatorService()
        {
            List<IDbConfiguration> configurations = new List<IDbConfiguration>();
            configurations.Add(new DocsDbConfiguration());
            configurations.Add(new CommonDbConfiguration());

            this.unitOfWork = new UnitOfWork(configurations, Enumerable.Empty<IDbContextInitializer>());
            this.rioDocumentParser = new RioDocumentParser();
        }
コード例 #2
0
ファイル: IncomingDocProcessor.cs プロジェクト: MartinBG/Gva
 public IncomingDocProcessor(
     Func<Owned<IUnitOfWork>> unitOfWorkFactory,
     IUnitOfWork unitOfWork,
     IDocRepository docRepository,
     IEmailRepository emailRepository,
     ICorrespondentRepository correspondentRepository,
     IRioObjectExtractor rioObjectExtractor,
     IRioDocumentParser rioDocumentParser,
     IRioValidator rioValidator)
 {
     this.unitOfWorkFactory = unitOfWorkFactory;
     this.unitOfWork = unitOfWork;
     this.docRepository = docRepository;
     this.emailRepository = emailRepository;
     this.correspondentRepository = correspondentRepository;
     this.rioObjectExtractor = rioObjectExtractor;
     this.rioDocumentParser = rioDocumentParser;
     this.rioValidator = rioValidator;
 }
コード例 #3
0
ファイル: IntegrationController.cs プロジェクト: MartinBG/Gva
 public IntegrationController(
     IDocRepository docRepository,
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     IPersonRepository personRepository,
     IApplicationRepository applicationRepository,
     ICaseTypeRepository caseTypeRepository,
     IIntegrationRepository integrationRepository,
     INomRepository nomRepository,
     ICorrespondentRepository correspondentRepository,
     IRioDocumentParser rioDocumentParser,
     UserContext userContext)
 {
     this.docRepository = docRepository;
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.personRepository = personRepository;
     this.applicationRepository = applicationRepository;
     this.integrationRepository = integrationRepository;
     this.caseTypeRepository = caseTypeRepository;
     this.nomRepository = nomRepository;
     this.correspondentRepository = correspondentRepository;
     this.rioDocumentParser = rioDocumentParser;
     this.userContext = userContext;
 }