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() { _rulesRepository = new RulesRepository(PathToRulesFolder); }