public LocalFileServer(IAppFolders appFolders, IWebUrlService webUrlService, ILogger _Logger, IMatialFileService matialFileService) { _appFolders = appFolders; _webUrlService = webUrlService; fileDownloadUrl = webUrlService.GetRemotingFileDownloadUrl(); Logger = _Logger; _matialFileService = matialFileService; filePath = _matialFileService.MapDirPath; }
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; }