public void Add(FileServerMap item) { this.List.Add(item); }
protected virtual void MatchFileServer() { #region _FileServerMap = SiteConfigManager.Intance.FileServerMapList.GetFileServerMap(_UploadFileEntity.UploadDate, _ServiceType); if (_FileServerMap == null) { throw new Exception("查询不到文件服务器匹配节点"); } else { _FileServer = SiteConfigManager.Intance.FileServerList.GetFileServer(_FileServerMap.MapName); if (_FileServer == null) { throw new Exception("根据节点‘" + _FileServerMap.MapName + "’查询不到服务器"); } } FileServerRootPath = _FileServer.RootPath; #endregion }