Partager via


RotationConverter Classe

Définition

Définit des valeurs pour Rotation.

public sealed class RotationConverter : Newtonsoft.Json.JsonConverter
type RotationConverter = class
    inherit JsonConverter
Public NotInheritable Class RotationConverter
Inherits JsonConverter
Héritage
Newtonsoft.Json.JsonConverter
RotationConverter

Constructeurs

RotationConverter()

Définit des valeurs pour Rotation.

Méthodes

CanConvert(Type)

Retourne si objectType peut être converti en Rotation par le convertisseur.

ReadJson(JsonReader, Type, Object, JsonSerializer)

Remplace ReadJson et convertit le jeton en Rotation.

WriteJson(JsonWriter, Object, JsonSerializer)

Remplacement de WriteJson pour la rotation pour la sérialisation.

S’applique à