C# Class IBM.Cloudant.Client.SortFieldConverter

Marshals SortSyntax JSON objects into IBM.Cloudant.Client.SortField struct.
Inheritance: Newtonsoft.Json.JsonConverter
Afficher le fichier Open project: cloudant/xamarin-cloudant

Méthodes publiques

Méthode Description
CanConvert ( Type objectType ) : bool
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
SortFieldConverter ( ) : System

Initializes a new instance of the IBM.Cloudant.Client.SortFieldConverter class.

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

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

SortFieldConverter() public méthode

Initializes a new instance of the IBM.Cloudant.Client.SortFieldConverter class.
public SortFieldConverter ( ) : System
Résultat System

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