ValueFormatAttributeReadValueFormat 方法 |
反序列化时 - Model的Value的格式化器
When deserializing - Value formatter for Model
命名空间:
CPF.Windows.Json
程序集:
CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法 public virtual Object ReadValueFormat(
string value,
Type type,
JsonDeserializeHandler handler,
out bool isValueFormat
)
参数
- value
- 类型:SystemString
从Json字符串中读取的匹配字符串,Matched strings read from Json strings - type
- 类型:SystemType
值的类型,The type of the value - handler
- 类型:CPF.Windows.JsonJsonDeserializeHandler
用于提供一些配置选项,Used to provide some configuration options - isValueFormat
- 类型:SystemBoolean
决定最终是否进行值格式化,Determines whether the value is ultimately formatted
返回值
类型:
Object格式化后的结果,Formatted results
参见