public EddbLoaderService(IPersistenceRepository repository) { _repository = repository; DoWork(null, null); //_timer = new Timer(OneDay); //_timer.Elapsed += DoWork; }
public EddbLoaderService(IPersistenceRepository repository) { _repository = repository; DoWork(null, null); //_timer = new Timer(OneDay); //_timer.Elapsed += DoWork; }
public Provider(string @alias, IPersistenceRepository reader, IPersistenceRepository readWriter) { //TODO: Implement provider manifest so Hive bootstrapper can provider repository instances //based on standard configuration _alias = alias; _reader = reader; _readWriter = readWriter; }
/// <summary> /// Initializes a new instance of the <see cref="T:Provider"/> class. /// </summary> public Provider(string @alias, IPersistenceRepository reader, IPersistenceRepository readWriter) { //TODO: Implement provider manifest so Hive bootstrapper can provider repository instances //based on standard configuration _alias = alias; _reader = reader; _readWriter = readWriter; }
public ConfigMapService( IAwsAuthConfigMapRepository awsAuthConfigMapRepository, IPersistenceRepository configMapPersistenceService ) { _awsAuthConfigMapRepository = awsAuthConfigMapRepository; _configMapPersistenceService = configMapPersistenceService; }
public ProcessService( IQueryRepository <Account> accountQueryRepository, IPersistenceRepository <PaymentOrder> paymentPersistence, IPersistenceRepository <Account> accountPersistence, IConsumer <PaymentOrder> consumer ) { this.accountQueryRepository = accountQueryRepository; this.paymentPersistence = paymentPersistence; this.accountPersistence = accountPersistence; this.consumer = consumer; }
public PaymentService(INotificationService notificationService, IQueryRepository <Account> accountQuery, IPersistenceRepository <PaymentOrder> paymentPersistence) { this.notificationService = notificationService; this.accountQuery = accountQuery; this.paymentPersistence = paymentPersistence; }
} // WRITE REPOSITORY Uses different Lib (uses Entity F/W for now) //public ServiceCoordinator(string connectionString) //{ // this._connectionString = connectionString; // this.DomainRepository = new PersistenceRepository(connectionString); //} public ServiceCoordinator(InventoryContext inventoryContext) // todo remove the depedency on EF { this.DomainRepository = new PersistenceRepository(inventoryContext); }
public Repository(IExternalRepository <TEntity> external, IPersistenceRepository <TEntity> persistence, ILogger <Repository <TEntity> > logger) { _external = external; _persistence = persistence; _logger = logger; }
public BusinessRepository() { PersistenceRepository = new PersistenceRepository(); }
public static void MyClassInitialize(TestContext testContext) { _repository = new ReadWriteRepository("read-write"); }