public AlephRepository(string pathToImageCache = null, string pathToRulesFolder = null) { _storageHelper = new StorageHelper(pathToImageCache); _imageRepository = new ImageRepository(null, pathToImageCache); if (pathToRulesFolder != null) _rulesRepository = new RulesRepository(pathToRulesFolder); }
public void InitRepository() { _imageRepository = new ImageRepository(new AlephRepository(_imageCache),_imageCache); }