Example #1
0
        public ListFileManager(HttpContext context, string pathToList, string[] searchExtensions, IUploadFolder uploadFolder)
            : base(context)
        {
            this.SearchExtensions = searchExtensions.Select(x => x.ToLower()).ToArray();

            this.PathToList = pathToList;
            _uploadFolder   = uploadFolder;
        }
Example #2
0
 public UploadHandler(HttpContext context, UploadConfig config, IUploadFolder uploadFolder)
     : base(context)
 {
     _uploadFolder     = uploadFolder;
     this.UploadConfig = config;
     this.Result       = new UploadResult {
         State = UploadState.Unknown
     };
 }
Example #3
0
 public UeditorController(IUploadFolder uploadFolder)
 {
     _uploadFolder = uploadFolder;
 }
 public Crawler(string sourceUrl, IUploadFolder uploadFolder)
 {
     _uploadFolder  = uploadFolder;
     this.SourceUrl = sourceUrl;
 }
 public CrawlerHandler(HttpContext context, IUploadFolder uploadFolder) : base(context)
 {
     _uploadFolder = uploadFolder;
 }