点击或拖拽改变大小

JsonDeserializeCtorAttribute 类

对Model进行Json反序列化时指定一个构造函数 Specify a constructor for Json deserialization of Model
继承层次
SystemObject
  SystemAttribute
    CPF.Windows.JsonJsonDeserializeCtorAttribute

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

JsonDeserializeCtorAttribute 类型公开以下成员。

构造函数
  名称说明
公共方法JsonDeserializeCtorAttribute
反序列化时的指定构造函数以及参数,args必须和构造函数参数匹配 Deserializing the specified constructor and parameters, args must match the constructor parameters
Top
属性
  名称说明
公共属性TypeId (继承自 Attribute。)
Top
方法
  名称说明
公共方法Equals (继承自 Attribute。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Attribute。)
公共方法GetType (继承自 Object。)
公共方法IsDefaultAttribute (继承自 Attribute。)
公共方法Match (继承自 Attribute。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法ToString (继承自 Object。)
Top
扩展方法
  名称说明
公共扩展器方法ConvertTo
类型转换
(由 ObjectExtenstions 定义。)
公共扩展器方法Delay
延迟操作
(由 ObjectExtenstions 定义。)
公共扩展器方法Equal
对象是否相等
(由 ObjectExtenstions 定义。)
公共扩展器方法GetCreationCode (由 ObjectExtenstions 定义。)
公共扩展器方法GetPropretyValue
获取对象属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法GetValue
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。)
公共扩展器方法Invoke
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。)
公共扩展器方法SetPropretyValue
设置属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法SetValue
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。)
Top
参见