点击或拖拽改变大小

ValueFormatAttribute 类

对Model的值格式化器特性,可标注于字段,属性,结构或类上,(字段/属性) 优先级大于 (结构/类) Value formatter features of Model can be labeled on fields, properties, structures or classes with priority of (fields/properties) over (structures/classes)
继承层次
SystemObject
  SystemAttribute
    CPF.Windows.JsonValueFormatAttribute

命名空间:  CPF.Windows.Json
程序集:  CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法
C#
public abstract class ValueFormatAttribute : Attribute

ValueFormatAttribute 类型公开以下成员。

构造函数
  名称说明
受保护的方法ValueFormatAttribute
初始化 ValueFormatAttribute 类的一个新实例
Top
属性
  名称说明
公共属性TypeId (继承自 Attribute。)
Top
方法
  名称说明
公共方法Equals (继承自 Attribute。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Attribute。)
公共方法GetType (继承自 Object。)
公共方法IsDefaultAttribute (继承自 Attribute。)
公共方法Match (继承自 Attribute。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法ReadValueFormat
反序列化时 - Model的Value的格式化器 When deserializing - Value formatter for Model
公共方法ToString (继承自 Object。)
公共方法WriteValueFormat
序列化时 - Model的Value的格式化器 Serialization time - Value formatter for Model
Top
扩展方法
  名称说明
公共扩展器方法ConvertTo
类型转换
(由 ObjectExtenstions 定义。)
公共扩展器方法Delay
延迟操作
(由 ObjectExtenstions 定义。)
公共扩展器方法Equal
对象是否相等
(由 ObjectExtenstions 定义。)
公共扩展器方法GetCreationCode (由 ObjectExtenstions 定义。)
公共扩展器方法GetPropretyValue
获取对象属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法GetValue
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。)
公共扩展器方法Invoke
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。)
公共扩展器方法SetPropretyValue
设置属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法SetValue
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。)
Top
参见