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 | Determines whether the specified object is equal to the current object. (继承自 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 | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
GetAllFiles |
获取当前目录的下所有文件信息,返回所有映射的文件名:b35a11ec533147ca80c7f7d1713f015b7909 Gets the current directory under all file information, return all mapping file name: b35a11ec533147ca80c7f7d1713f015b7909 | |
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 | Serves as the default hash function. (继承自 Object。) | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
GetUploadTimeByFileName |
根据文件的名称获取对应的文件信息 Get the corresponding file information according to the file name | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
RenameFolder |
重命名当前的目录信息
| |
ToString | Returns a string that represents the current object. (重写 ObjectToString.) | |
UpdateFileMappingName |
上传文件时掉用,通过比对现有的文件列表,如果没有,就重新创建列表信息 Used when uploading files, by comparing existing file lists, if not, re-creating list information |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |