C# Класс Owin.Scim.Serialization.ResourceJsonConverter

Наследование: Newtonsoft.Json.JsonConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
CanConvert ( Type objectType ) : bool

Determines whether this instance can convert the specified object type.

ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object

Reads the JSON representation of the object.

ResourceJsonConverter ( ScimServerConfiguration serverConfiguration, JsonSerializer serializer ) : System

Initializes a new instance of the ResourceJsonConverter class.

WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void

Writes the JSON representation of the object.

Приватные методы

Метод Описание
FindExtensionType ( Type resourceType, string extensionSchemaIdentifier ) : Type

Описание методов

CanConvert() публичный Метод

Determines whether this instance can convert the specified object type.
public CanConvert ( Type objectType ) : bool
objectType Type Type of the object.
Результат bool

ReadJson() публичный Метод

Reads the JSON representation of the object.
/// In order for Owin.Scim to support resource extensions, the serialization /// process is uniquely designed. Therefore, your Resource type objects must /// contain at mimimum, a default empty constructor (which may be private). ///
public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader The to read from.
objectType Type Type of the object.
existingValue object The existing value of object being read.
serializer Newtonsoft.Json.JsonSerializer The calling serializer.
Результат object

ResourceJsonConverter() публичный Метод

Initializes a new instance of the ResourceJsonConverter class.
public ResourceJsonConverter ( ScimServerConfiguration serverConfiguration, JsonSerializer serializer ) : System
serverConfiguration ScimServerConfiguration The server configuration.
serializer Newtonsoft.Json.JsonSerializer The serializer to use.
Результат System

WriteJson() публичный Метод

Writes the JSON representation of the object.
public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter The to write to.
value object The value.
serializer Newtonsoft.Json.JsonSerializer The calling serializer.
Результат void