C# Class Te.StahpIt.Serialization.Json.Converters.DashboardConverter

Inheritance: Newtonsoft.Json.JsonConverter
Afficher le fichier Open project: TechnikEmpire/StahpIt-WPF

Méthodes publiques

Méthode Description
CanConvert ( Type objectType ) : bool
DashboardConverter ( Engine engine ) : ByteSizeLib

JSON Converter for the DashboardModel object.

ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void

Method Details

CanConvert() public méthode

public CanConvert ( Type objectType ) : bool
objectType System.Type
Résultat bool

DashboardConverter() public méthode

JSON Converter for the DashboardModel object.
/// In the event that the engine parameter is null, will throw ArgumentException. ///
public DashboardConverter ( Engine engine ) : ByteSizeLib
engine Engine /// A valid instance to the underlying Engine that the model controls. ///
Résultat ByteSizeLib

ReadJson() public méthode

public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader
objectType System.Type
existingValue object
serializer Newtonsoft.Json.JsonSerializer
Résultat object

WriteJson() public méthode

public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter
value object
serializer Newtonsoft.Json.JsonSerializer
Résultat void