예제 #1
0
 public LocalFileServer(IAppFolders appFolders, IWebUrlService webUrlService, ILogger _Logger, IMatialFileService matialFileService)
 {
     _appFolders        = appFolders;
     _webUrlService     = webUrlService;
     fileDownloadUrl    = webUrlService.GetRemotingFileDownloadUrl();
     Logger             = _Logger;
     _matialFileService = matialFileService;
     filePath           = _matialFileService.MapDirPath;
 }
예제 #2
0
 public MapDirFileServer(IAppFolders appFolders, IWebUrlService webUrlService, ILogger _Logger, IMatialFileService matialFileService)
 {
     _appFolders        = appFolders;
     _webUrlService     = webUrlService;
     fileDownloadUrl    = webUrlService.GetRemotingFileDownloadUrl();
     Logger             = _Logger;
     _matialFileService = matialFileService;
     filePath           = _matialFileService.MapDirRemotingName;
     mapDirPath         = _matialFileService.MapDirPath;
     mapDirPwd          = _matialFileService.MapDirPwd;
     mapDirRemotingName = _matialFileService.MapDirRemotingName;
     mapDirRemotingIP   = _matialFileService.MapDirRemotingIP;
     mapDirUserName     = _matialFileService.MapDirUserName;
 }