C# Class System.Runtime.Serialization.Json.JsonDataContract

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
GetReadWriteDelegatesFromGeneratedAssembly JsonReadWriteDelegates
TryGetReadWriteDelegatesFromGeneratedAssembly JsonReadWriteDelegates

Méthodes publiques

Méthode Description
GetGeneratedReadWriteDelegates ( System.Runtime.Serialization.DataContract c ) : JsonReadWriteDelegates
GetJsonDataContract ( System.Runtime.Serialization.DataContract traditionalDataContract ) : JsonDataContract
ReadJsonValue ( System.Runtime.Serialization.XmlReaderDelegator jsonReader, System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson context ) : object
ReadJsonValueCore ( System.Runtime.Serialization.XmlReaderDelegator jsonReader, System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson context ) : object
WriteJsonValue ( System.Runtime.Serialization.XmlWriterDelegator jsonWriter, object obj, System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle ) : void
WriteJsonValueCore ( System.Runtime.Serialization.XmlWriterDelegator jsonWriter, object obj, System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle ) : void

Méthodes protégées

Méthode Description
HandleReadValue ( object obj, XmlObjectSerializerReadContext context ) : object
JsonDataContract ( System.Runtime.Serialization.DataContract traditionalDataContract ) : System.Collections.Generic
JsonDataContract ( JsonDataContractCriticalHelper helper ) : System.Collections.Generic
PopKnownDataContracts ( System.Runtime.Serialization.XmlObjectSerializerContext context ) : void
PushKnownDataContracts ( System.Runtime.Serialization.XmlObjectSerializerContext context ) : void
TryReadNullAtTopLevel ( System.Runtime.Serialization.XmlReaderDelegator reader ) : bool

Private Methods

Méthode Description
GetReadWriteDelegatesFromGeneratedAssembly ( System.Runtime.Serialization.DataContract c ) : JsonReadWriteDelegates
TryGetReadWriteDelegatesFromGeneratedAssembly ( System.Runtime.Serialization.DataContract c ) : JsonReadWriteDelegates

Method Details

GetGeneratedReadWriteDelegates() public static méthode

public static GetGeneratedReadWriteDelegates ( System.Runtime.Serialization.DataContract c ) : JsonReadWriteDelegates
c System.Runtime.Serialization.DataContract
Résultat JsonReadWriteDelegates

GetJsonDataContract() public static méthode

public static GetJsonDataContract ( System.Runtime.Serialization.DataContract traditionalDataContract ) : JsonDataContract
traditionalDataContract System.Runtime.Serialization.DataContract
Résultat JsonDataContract

HandleReadValue() protected static méthode

protected static HandleReadValue ( object obj, XmlObjectSerializerReadContext context ) : object
obj object
context XmlObjectSerializerReadContext
Résultat object

JsonDataContract() protected méthode

protected JsonDataContract ( System.Runtime.Serialization.DataContract traditionalDataContract ) : System.Collections.Generic
traditionalDataContract System.Runtime.Serialization.DataContract
Résultat System.Collections.Generic

JsonDataContract() protected méthode

protected JsonDataContract ( JsonDataContractCriticalHelper helper ) : System.Collections.Generic
helper JsonDataContractCriticalHelper
Résultat System.Collections.Generic

PopKnownDataContracts() protected méthode

protected PopKnownDataContracts ( System.Runtime.Serialization.XmlObjectSerializerContext context ) : void
context System.Runtime.Serialization.XmlObjectSerializerContext
Résultat void

PushKnownDataContracts() protected méthode

protected PushKnownDataContracts ( System.Runtime.Serialization.XmlObjectSerializerContext context ) : void
context System.Runtime.Serialization.XmlObjectSerializerContext
Résultat void

ReadJsonValue() public méthode

public ReadJsonValue ( System.Runtime.Serialization.XmlReaderDelegator jsonReader, System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson context ) : object
jsonReader System.Runtime.Serialization.XmlReaderDelegator
context System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson
Résultat object

ReadJsonValueCore() public méthode

public ReadJsonValueCore ( System.Runtime.Serialization.XmlReaderDelegator jsonReader, System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson context ) : object
jsonReader System.Runtime.Serialization.XmlReaderDelegator
context System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson
Résultat object

TryReadNullAtTopLevel() protected static méthode

protected static TryReadNullAtTopLevel ( System.Runtime.Serialization.XmlReaderDelegator reader ) : bool
reader System.Runtime.Serialization.XmlReaderDelegator
Résultat bool

WriteJsonValue() public méthode

public WriteJsonValue ( System.Runtime.Serialization.XmlWriterDelegator jsonWriter, object obj, System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle ) : void
jsonWriter System.Runtime.Serialization.XmlWriterDelegator
obj object
context System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson
declaredTypeHandle System.RuntimeTypeHandle
Résultat void

WriteJsonValueCore() public méthode

public WriteJsonValueCore ( System.Runtime.Serialization.XmlWriterDelegator jsonWriter, object obj, System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle ) : void
jsonWriter System.Runtime.Serialization.XmlWriterDelegator
obj object
context System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson
declaredTypeHandle System.RuntimeTypeHandle
Résultat void