点击或拖拽改变大小

GroupFileContainer 方法

GroupFileContainer 类型公开以下成员。

方法
  名称说明
公共方法ClearAllFiles
删除当前目录下所有的文件信息,返回等待被删除的文件列表,是映射文件名:b35a11ec533147ca80c7f7d1713f015b7909
Delete all file information in the current directory, and return to the list of files waiting to be deleted, which is the mapping file name: b35a11ec533147ca80c7f7d1713f015b7909
公共方法DeleteFile
删除一个文件信息,传入文件实际的名称,例如 123.txt 返回被删除的文件的guid名称,例如返回 b35a11ec533147ca80c7f7d1713f015b7909 此方法存在同名文件删除的风险
Delete a file information. Pass in the actual name of the file. For example, 123.txt returns the guid name of the deleted file. For example, it returns b35a11ec533147ca80c7f7d1713f015b7909. There is a risk of deleting the file with the same name
公共方法DeleteFileByGuid
删除一个文件信息,传入文件唯一的guid的名称,例如 b35a11ec533147ca80c7f7d1713f015b7909 返回被删除的文件的guid名称
Delete a file information, pass in the unique GUID name of the file, for example b35a11ec533147ca80c7f7d1713f015b7909 return the GUID name of the deleted file
公共方法DeleteFolder
删除当前的目录信息
公共方法Equals (继承自 Object。)
公共方法FileExists
判断当前的文件名是否在文件的列表里,传入文件实际的名称,例如 123.txt,如果文件存在,返回 true, 如果不存在,返回 false
Determine whether the current file name is in the file list, and pass in the actual file name, such as 123.txt, if it exists, return true, if it does not exist, return false
受保护的方法Finalize (继承自 Object。)
公共方法GetCurrentFileMappingName
下载文件时调用,根据当前的文件名称,例如 123.txt 获取到在文件服务器里映射的文件名称,例如返回 b35a11ec533147ca80c7f7d1713f015b7909
Called when downloading a file. Get the file name mapped in the file server according to the current file name, such as 123.txt. For example, return b35a11ec533147ca80c7f7d1713f015b7909.
公共方法GetGroupFileInfo
获取当前目录所有文件的大小之和
Get the sum of the size of all files in the current directory
公共方法GetHashCode (继承自 Object。)
公共方法GetType (继承自 Object。)
公共方法GetUploadTimeByFileName
根据文件的名称获取对应的文件信息
Get the corresponding file information according to the file name
受保护的方法MemberwiseClone (继承自 Object。)
公共方法RenameFolder
重命名当前的目录信息
公共方法ToString (重写 ObjectToString.)
公共方法UpdateFileMappingName
上传文件时掉用,通过比对现有的文件列表,如果没有,就重新创建列表信息
Used when uploading files, by comparing existing file lists, if not, re-creating list information
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见