public struct ValueCounterPublic Structure ValueCounter[<SealedAttribute>]
type ValueCounter =
struct
inherit ValueType
end| ValueCounter | 初始化 ValueCounter 结构的新实例。 |
| Count | 获取当前周期内的累计计数值。 |
| LastIncrement | 获取最后一次递增的时间。 |
| OnPeriod | 获取或设置当达到一个周期时的回调函数。 |
| Period | 获取或设置计数周期的时间间隔。 |
| TotalCount | 获取从开始到现在的总计数值。 |
| Equals | Indicates whether this instance and a specified object are equal. (继承自 ValueType。) |
| GetHashCode | Returns the hash code for this instance. (继承自 ValueType。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| Increment | 以线程安全的方式增加1个计数。 |
| Increment(Int64) | 以线程安全的方式增加指定的计数值。 |
| Reset | 重置计数器的所有状态,包括当前周期计数、总计数和最后递增时间。 |
| ToString | Returns the fully qualified type name of this instance. (继承自 ValueType。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |