public class FileResourceInfo : PackageBase
Public Class FileResourceInfo
Inherits PackageBase
type FileResourceInfo =
class
inherit PackageBase
end
FileResourceInfo(IByteBlock) | 从内存初始化资源 |
FileResourceInfo(FileInfo, Int32) | 初始化FileResourceInfo对象的新实例。 |
FileResourceInfo(RemoteFileInfo, Int32) | 初始化一个远程资源 |
FileResourceInfo(String, Int32) | 初始化一个本地资源 |
FileInfo | 资源文件信息 |
FileSections | 资源分块集合。 |
FileSectionSize | 文件分块尺寸。 |
ResourceHandle | 资源句柄唯一标识 |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetContinuationIndex | 获取尝试续传时的索引。 |
GetFileSections | 按文件块状态,获取块集合,如果没用找到任何元素,则返回空数组。 |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
PackageTByteBlock(TByteBlock) |
打包。
重写的话,约定基类方法必须先执行 (继承自 PackageBase。) |
PackageTByteBlock(TByteBlock) |
打包。
重写的话,约定基类方法必须先执行 (重写 PackageBasePackageTByteBlock(TByteBlock)) |
ResetResourceHandle | 重新设置资源标识。 |
SaveTByteBlock | 将FileResourceInfo对象保存到内存。 |
ToString | Returns a string that represents the current object. (继承自 Object。) |
UnpackageTByteBlock(TByteBlock) |
解包。
重写的话,约定基类方法必须先执行 (继承自 PackageBase。) |
UnpackageTByteBlock(TByteBlock) |
解包。
重写的话,约定基类方法必须先执行 (重写 PackageBaseUnpackageTByteBlock(TByteBlock)) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |