C# Class XSerializer.SerializableJsonProperty

Afficher le fichier Open project: QuickenLoans/XSerializer

Méthodes publiques

Méthode Description
ReadValue ( JsonReader reader, IJsonSerializeOperationInfo info, string path ) : object
SerializableJsonProperty ( PropertyInfo propertyInfo, bool encrypt, XSerializer.JsonMappings mappings, bool shouldUseAttributeDefinedInInterface ) : System
SetValue ( object instance, JsonReader reader, IJsonSerializeOperationInfo info, string path ) : void
SetValue ( object instance, object value ) : void
WriteValue ( JsonWriter writer, object instance, IJsonSerializeOperationInfo info ) : void

Private Methods

Méthode Description
GetGetValueFunc ( PropertyInfo propertyInfo, Type declaringType ) : object>.Func
GetSetValueAction ( PropertyInfo propertyInfo, Type declaringType ) : object>.Action

Method Details

ReadValue() public méthode

public ReadValue ( JsonReader reader, IJsonSerializeOperationInfo info, string path ) : object
reader JsonReader
info IJsonSerializeOperationInfo
path string
Résultat object

SerializableJsonProperty() public méthode

public SerializableJsonProperty ( PropertyInfo propertyInfo, bool encrypt, XSerializer.JsonMappings mappings, bool shouldUseAttributeDefinedInInterface ) : System
propertyInfo System.Reflection.PropertyInfo
encrypt bool
mappings XSerializer.JsonMappings
shouldUseAttributeDefinedInInterface bool
Résultat System

SetValue() public méthode

public SetValue ( object instance, JsonReader reader, IJsonSerializeOperationInfo info, string path ) : void
instance object
reader JsonReader
info IJsonSerializeOperationInfo
path string
Résultat void

SetValue() public méthode

public SetValue ( object instance, object value ) : void
instance object
value object
Résultat void

WriteValue() public méthode

public WriteValue ( JsonWriter writer, object instance, IJsonSerializeOperationInfo info ) : void
writer JsonWriter
instance object
info IJsonSerializeOperationInfo
Résultat void