Inherits JsonExSerializer.MetaData.PropertyHandlerBase.
Public Member Functions | |
| FieldHandler (FieldInfo field) | |
| Constructs a FieldHandler for a field on a type that is not a constructor parameter. | |
| FieldHandler (FieldInfo field, int position) | |
| Constructs a FieldHandler for a field on a type that is also a constructor parameter at the specified position in the constructor arguments. | |
| override object | GetValue (object instance) |
| Gets the value of the field from an object instance. | |
| override void | SetValue (object instance, object value) |
| Sets the value of the field on the object. | |
Properties | |
| override Type | PropertyType [get] |
| Gets the type of the field. | |
| override bool | CanWrite [get] |
| JsonExSerializer.MetaData.FieldHandler.FieldHandler | ( | FieldInfo | field | ) |
Constructs a FieldHandler for a field on a type that is not a constructor parameter.
| field | field info |
| JsonExSerializer.MetaData.FieldHandler.FieldHandler | ( | FieldInfo | field, | |
| int | position | |||
| ) |
Constructs a FieldHandler for a field on a type that is also a constructor parameter at the specified position in the constructor arguments.
| field | field info | |
| position | its position in the constructor |
| override object JsonExSerializer.MetaData.FieldHandler.GetValue | ( | object | instance | ) | [virtual] |
Gets the value of the field from an object instance.
| instance | the object instance to retrieve the field value from |
Implements JsonExSerializer.MetaData.AbstractPropertyHandler.
| override void JsonExSerializer.MetaData.FieldHandler.SetValue | ( | object | instance, | |
| object | value | |||
| ) | [virtual] |
Sets the value of the field on the object.
| instance | the object instance to retrieve the field value from | |
| value | field value |
Implements JsonExSerializer.MetaData.AbstractPropertyHandler.
override Type JsonExSerializer.MetaData.FieldHandler.PropertyType [get] |
override bool JsonExSerializer.MetaData.FieldHandler.CanWrite [get] |
Reimplemented from JsonExSerializer.MetaData.MemberHandlerBase.
1.5.2