| FileMarkId 类 | 
 继承层次
继承层次命名空间: HslCommunication.Core
 语法
语法FileMarkId 类型公开以下成员。
 构造函数
构造函数| 名称 | 说明 | |
|---|---|---|
|  | FileMarkId | 
            实例化一个文件标记对象,需要传入日志信息和文件名 To instantiate a file tag object, you need to pass in log information and file name | 
 属性
属性| 名称 | 说明 | |
|---|---|---|
|  | ActiveTime | 
            当前的对象最后一次活跃的时间 Last active time of the current object | 
|  | CreateTime | 
            当前的对象创建的时间 Current object creation time | 
|  | DownloadTimes | 
            当前的文件的读取次数,通常也是下载次数。 The current number of reads of the file, usually also the number of downloads. | 
 方法
方法| 名称 | 说明 | |
|---|---|---|
|  | AddOperation | 
            新增一个对当前的文件的操作,如果没有读取,就直接执行,如果有读取,就等待读取完成的时候执行。 Add an operation on the current file. If there is no read, it will be executed directly. If there is a read, it will be executed when the read is completed. | 
|  | CanClear | 
            获取该对象是否能被清除 Gets whether the object can be cleared | 
|  | EnterReadOperator | 
            进入文件的读取状态 Enter the read state of the file | 
|  | 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。) | 
|  | GetHashCode | Serves as the default hash function.(继承自 Object。) | 
|  | GetType | Gets the Type of the current instance.(继承自 Object。) | 
|  | LeaveReadOperator | 
            离开本次的文件读取状态,如果没有任何的客户端在读取了,就执行缓存队列里的操作信息。 Leaving the current file reading status, if no client is reading, the operation information in the cache queue is executed. | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(继承自 Object。) | 
|  | ToString | Returns a string that represents the current object.(重写 ObjectToString.) | 
 扩展方法
扩展方法| 名称 | 说明 | |
|---|---|---|
|  | ToJsonString | 
            获取当前对象的JSON格式表示的字符串。(由 HslExtension 定义。) Gets the string represented by the JSON format of the current object. | 
 参见
参见