示例#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;
        }
示例#2
0
 public ImageController(IComicBookResolver indexResolver, IComicBookFactory factory, IImageProcessor processor)
 {
     this.indexResolver = indexResolver;
     this.factory       = factory;
     this.processor     = processor;
 }
示例#3
0
 public StoreIndexer(ComicViewerConfiguration config, IComicBookFactory factory, IComicBookResolver resolver) : base(config, factory)
 {
     this.config   = config;
     this.resolver = resolver;
 }
示例#4
0
 public InMemoryIndexer(ComicViewerConfiguration config, IComicBookFactory factory) : base(config, factory)
 {
     this.Files = new Dictionary <string, ComicBookFile>();
 }