HslReflectionHelper 方法 |
HslReflectionHelper 类型公开以下成员。
名称 | 说明 | |
---|---|---|
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。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
ReadT(IReadWriteNet) |
从设备里读取支持Hsl特性的数据内容,该特性为HslDeviceAddressAttribute,详细参考论坛的操作说明。
| |
ReadT(RedisClient) |
从设备里读取支持Hsl特性的数据内容,
该特性为HslRedisKeyAttribute,HslRedisListItemAttribute,
HslRedisListAttribute,HslRedisHashFieldAttribute
详细参考代码示例的操作说明。
| |
ReadAsyncT(IReadWriteNet) |
从设备里读取支持Hsl特性的数据内容,该特性为HslDeviceAddressAttribute,详细参考论坛的操作说明。
| |
ReadAsyncT(RedisClient) |
从设备里读取支持Hsl特性的数据内容,
该特性为HslRedisKeyAttribute,HslRedisListItemAttribute,
HslRedisListAttribute,HslRedisHashFieldAttribute
详细参考代码示例的操作说明。
| |
SetPropertyExpT, K |
使用表达式树的方式来给一个属性赋值
| |
ToString | Returns a string that represents the current object. (继承自 Object。) | |
WriteT(T, IReadWriteNet) |
从设备里读取支持Hsl特性的数据内容,该特性为HslDeviceAddressAttribute,详细参考论坛的操作说明。
| |
WriteT(T, RedisClient) |
从设备里写入支持Hsl特性的数据内容,
该特性为HslRedisKeyAttribute ,HslRedisHashFieldAttribute
需要注意的是写入并不支持HslRedisListAttribute,HslRedisListItemAttribute特性,详细参考代码示例的操作说明。
| |
WriteAsyncT(T, IReadWriteNet) |
从设备里读取支持Hsl特性的数据内容,该特性为HslDeviceAddressAttribute,详细参考论坛的操作说明。
| |
WriteAsyncT(T, RedisClient) |
从设备里写入支持Hsl特性的数据内容,
该特性为HslRedisKeyAttribute ,HslRedisHashFieldAttribute
需要注意的是写入并不支持HslRedisListAttribute,HslRedisListItemAttribute特性,详细参考代码示例的操作说明。
|