示例#1
0
 public ClientTransformFactory(ILogManager logManager, IAuditApplicationService auditApplicationService)
 {
     _transforms = new Dictionary <Guid, IClientTransform>
     {
         { BerkleynetTransform.ClientKey, new BerkleynetTransform(logManager, auditApplicationService) }
     };
 }
示例#2
0
 public AuditImportService(
     ILogManager logManager,
     ICommunicationProviderFactory communicationProviderFactory,
     IAuditApplicationService auditApplicationService,
     IClientTransformFactory clientTransformFactory)
 {
     _logManager = logManager;
     _communicationProviderFactory = communicationProviderFactory;
     _auditApplicationService      = auditApplicationService;
     _clientTransformFactory       = clientTransformFactory;
 }
示例#3
0
 public AuditEngine(
     IAuditApplicationService auditApplicationService,
     IClientApplicationService clientApplicationService,
     IAuditActionFactory auditStepFactory,
     IAuditWorkflowService workflowService,
     ILogManager logManager)
 {
     _auditApplicationService = auditApplicationService;
     _auditActionFactory      = auditStepFactory;
     _workflowService         = workflowService;
     _logManager  = logManager;
     _stepCache   = new Dictionary <string, IAuditWorkflowStep>();
     _clientCache = GetClientCache(clientApplicationService);
 }
        public GenerateWelcomeLetterStep(ILogManager logManager,
                                         IAuditApplicationService auditApplicationService,
                                         IDocumentApplicationService documentApplicationService,
                                         IFileUploadApplicationService auditUploadApplicationService,
                                         IAuditConfiguration auditConfiguration,
                                         IWelcomeLetterGl wecomeLetterGl,
                                         IWelcomeLetterWc welcomeLetterWc)
        {
            _logManager = logManager;
            _auditApplicationService       = auditApplicationService;
            _auditUploadApplicationService = auditUploadApplicationService;
            _documentApplicationService    = documentApplicationService;
            _auditConfiguration            = auditConfiguration;
            _welcomeLetterGl = wecomeLetterGl;
            _welcomeLetterWc = welcomeLetterWc;

            _letterGenerators = new Dictionary <AuditTypeEnum, Func <IToken, IToken> >
            {
                { AuditTypeEnum.NotSet, NoOpGenerator },
                { AuditTypeEnum.Combo, GenerateGlWelcomeletter },
                { AuditTypeEnum.GL, GenerateGlWelcomeletter },
                { AuditTypeEnum.WC, GenerateWcWelcomeLetter }
            };
        }
 public BerkleynetTransform(ILogManager logManager,
                            IAuditApplicationService auditApplicationService)
 {
     _logManager = logManager;
     _auditApplicationService = auditApplicationService;
 }
 public QcApplicationService(IAuditApplicationService auditApplicationService, ILogManager logManager, IQcRepository qcDataRepository)
 {
     _logManager              = logManager;
     _qcDataRepository        = qcDataRepository;
     _auditApplicationService = auditApplicationService;
 }