LogStatisticsDict 方法 |
LogStatisticsDict 类型公开以下成员。
名称 | 说明 | |
---|---|---|
AddLogStatistics |
手动新增一个对象,需要指定相关的关键字 Manually add a object, you need to specify related keywords | |
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。) | |
GetKeys |
获取所有的关键字的数据信息 Get data information of all keywords | |
GetLogStatistics |
根据给定的关键字信息,获取相关的 对象,进而执行很多的操作 According to the given keyword information, obtain related objects, and then perform many operations | |
GetStatisticsSnapshot |
获取当前的统计信息的数据快照,这是数据的副本,修改了里面的值不影响 Get a data snapshot of the current statistics. This is a copy of the data. Modifying the value inside does not affect | |
GetStatisticsSnapshotByTime |
根据指定的时间范围来获取统计的数据信息快照,包含起始时间,包含结束时间,这是数据的副本,修改了里面的值不影响 Get a snapshot of statistical data information according to the specified time range, including the start time, also the end time. This is a copy of the data. Modifying the value inside does not affect | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
LoadFromFile |
从指定的文件加载对应的统计信息,通常是调用SaveToFile(String)方法存储的文件,如果文件不存在,将会跳过加载 Load the corresponding statistical information from the specified file, usually the file stored by calling the SaveToFile(String) method. If the file does not exist, the loading will be skipped | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
RemoveLogStatistics |
移除一个对象,需要指定相关的关键字,如果关键字本来就存在,返回 True, 如果不存在,返回 False To remove a object, you need to specify the relevant keyword. If the keyword already exists, return True, if it does not exist, return False | |
SaveToFile |
将当前的统计信息及数据内容写入到指定的文件里面,需要指定文件的路径名称 Write the current statistical information and data content to the specified file, you need to specify the path name of the file | |
StatisticsAdd |
新增一个统计信息,将会根据当前的时间来决定插入数据位置,如果数据位置发生了变化,则数据向左发送移动。如果没有移动或是移动完成后,最后一个数进行新增数据 frequency 次 Adding a new statistical information will determine the position to insert the data according to the current time. If the data position changes, the data will be sent to the left. If there is no movement or after the movement is completed, add data to the last number frequency times | |
StatisticsAddByTime |
新增一个统计信息,将会根据当前的时间来决定插入数据位置,如果数据位置发生了变化,则数据向左发送移动。如果没有移动或是移动完成后,最后一个数进行新增数据 frequency 次 Adding a new statistical information will determine the position to insert the data according to the current time. If the data position changes, the data will be sent to the left. If there is no movement or after the movement is completed, add data to the last number frequency times | |
ToString | Returns a string that represents the current object. (继承自 Object。) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |