public TranslationsRepository(
     IContextFactory contextFactory, 
     IAbstractEntitiesFactory entitiesFactory, 
     ICacheFacade cacheFacade, 
     ICacheKeyFactory cacheKeyFactory, 
     ITranslationValidator translationValidator)
     : base(contextFactory, entitiesFactory, cacheFacade, cacheKeyFactory)
 {
     this.translationValidator = translationValidator;
 }
Beispiel #2
0
 protected RepositoryBase(
     IContextFactory contextFactory,
     IAbstractEntitiesFactory entitiesFactory,
     ICacheFacade cacheFacade, 
     ICacheKeyFactory cacheKeyFactory)
 {
     ContextFactory = contextFactory;
     EntitiesFactory = entitiesFactory;
     CacheFacade = cacheFacade;
     CacheKeyFactory = cacheKeyFactory;
 }
Beispiel #3
0
 public AWSDB()
 {
     cache = new AWSRedis(GlobalVars.REDIS_ENDPOINT, 6379);
 }