public DocumentsController(AccessManager amgr, DownloadFolder downloader, IOptions <Config> options, PrettyTextFile prettifier)
        {
            var vfs = amgr.GetReadOnlyFileSystem();

            this._outputFiles = new OutputFiles(vfs);
            this._imageRatio  = options.Value.ImageRatio;
            this._downloader  = downloader;
            this._prettifier  = prettifier;
        }
        public ArticlesController(AccessManager amgr, PrettyTextFile prettifier, IOptions <Config> options)
        {
            var vfs = amgr.GetReadOnlyFileSystem();

            _outputFiles = new OutputFiles(vfs);

            _imageRatio = options.Value.ImageRatio;

            this._prettifier = prettifier;
        }
Example #3
0
 public IndexModel(AccessManager amgr)
 {
     _vfs = amgr.GetReadOnlyFileSystem();
 }
Example #4
0
        public ListController(AccessManager amgr)
        {
            var vfs = amgr.GetReadOnlyFileSystem();

            this._inputFiles = new InputFiles(vfs);
        }
        public DocumentsController(AccessManager amgr)
        {
            var vfs = amgr.GetReadOnlyFileSystem();

            _outputFiles = new OutputFiles(vfs);
        }
        public DocumentOutputTreeTagHelper(AccessManager amgr)
        {
            var web = amgr.GetReadOnlyFileSystem();

            _outputFiles = new OutputFiles(web);
        }