Пример #1
0
 public Crawler(string sourceUrl, string webRootPath, UEditorConfig config, UpYunService client = null)
 {
     SourceUrl    = sourceUrl;
     _config      = config;
     _webRootPath = webRootPath;
     _client      = client;
 }
 public UEditorController(IHostingEnvironment environment, IOptions <UEditorConfig> option, UpYunService upYun)
 {
     _hostingEnvironment = environment;
     _config             = option.Value;
     _upYun = upYun;
 }