Inheritance: IImageRepository
示例#1
0
 public AlephRepository(string pathToImageCache = null, string pathToRulesFolder = null)
 {
     _storageHelper = new StorageHelper(pathToImageCache);
     _imageRepository = new ImageRepository(null, pathToImageCache);
     if (pathToRulesFolder != null)
         _rulesRepository = new RulesRepository(pathToRulesFolder);
 }
示例#2
0
 public void InitRepository()
 {
     _imageRepository = new ImageRepository(new AlephRepository(_imageCache),_imageCache);
 }