public static Container CreateContainer( Mock <IMessagePublisher> messagePublisher, Mock <IAuthenticationService> owinWrapper, Mock <ICookieStorageService <EmployerAccountData> > cookieService, Mock <IEventsApi> eventsApi, Mock <IEmployerCommitmentApi> commitmentApi, LevyDeclarationProviderConfiguration levyDeclarationProviderConfiguration) { var container = new Container( c => { c.AddRegistry <AuditRegistry>(); c.AddRegistry <CachesRegistry>(); c.AddRegistry <ConfigurationRegistry>(); c.AddRegistry <DateTimeRegistry>(); c.AddRegistry( new DefaultRegistry( owinWrapper, cookieService, eventsApi, commitmentApi, messagePublisher)); }); container.Inject(levyDeclarationProviderConfiguration); return(container); }
public GetTransferAllowanceQueryHandler(EmployerFinanceDbContext db, LevyDeclarationProviderConfiguration configuration) { _db = db; _configuration = configuration; }
public DasLevyRepository(LevyDeclarationProviderConfiguration configuration, ILog logger, Lazy <EmployerFinanceDbContext> db) : base(configuration.DatabaseConnectionString, logger) { _configuration = configuration; _db = db; }
public EnglishFractionRepository(LevyDeclarationProviderConfiguration configuration) : base(configuration) { }
public CleanTransactionsDatabase(LevyDeclarationProviderConfiguration configuration, ILog logger) : base(configuration.DatabaseConnectionString, logger) { }
public UpdateTransactionLine(LevyDeclarationProviderConfiguration configuration) : base(configuration) { }
public UpdateTransactionLine(LevyDeclarationProviderConfiguration configuration, ILog logger) : base(configuration.DatabaseConnectionString, logger) { }
public TransactionRepository(LevyDeclarationProviderConfiguration configuration, IMapper mapper) : base(configuration) { _mapper = mapper; }
public TransactionRepository(LevyDeclarationProviderConfiguration configuration, IMapper mapper, ILog logger, Lazy <EmployerFinanceDbContext> db) : base(configuration.DatabaseConnectionString, logger) { _mapper = mapper; _db = db; }
public CleanTransactionsDatabase(LevyDeclarationProviderConfiguration configuration) : base(configuration) { }
public FinanceStatisticsDataHelper() { _configuration = ConfigurationHelper.GetConfiguration <LevyDeclarationProviderConfiguration>(ServiceName); }