Example #1
0
        public BaseComicIndexer(ComicViewerConfiguration config, IComicBookFactory factory)
        {
            this.extensions = new[] { "*.cbr", "*.cbz", "*.rar", "*.zip" };

            this.path    = new DirectoryInfo(config.ComicRepositoryPath);
            this.config  = config;
            this.factory = factory;
        }
Example #2
0
 public ImageController(IComicBookResolver indexResolver, IComicBookFactory factory, IImageProcessor processor)
 {
     this.indexResolver = indexResolver;
     this.factory       = factory;
     this.processor     = processor;
 }
Example #3
0
 public StoreIndexer(ComicViewerConfiguration config, IComicBookFactory factory, IComicBookResolver resolver) : base(config, factory)
 {
     this.config   = config;
     this.resolver = resolver;
 }
Example #4
0
 public InMemoryIndexer(ComicViewerConfiguration config, IComicBookFactory factory) : base(config, factory)
 {
     this.Files = new Dictionary <string, ComicBookFile>();
 }