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

Inheritance: XmlObjectSerializerWriteContextComplex
Afficher le fichier Open project: dotnet/corefx

Private Properties

Свойство Type Description
CheckIfTypeNeedsVerifcation void
CreateContext System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson
CreateContext System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson
GetDataContract DataContract
GetDataContract DataContract
GetDataContractSkipValidation DataContract
GetRevisedItemContract DataContract
HandleCollectionAssignedToObject void
RequiresJsonTypeInfo bool
SerializeWithXsiTypeAtTopLevel void
TruncateDefaultDataContractNamespace string
VerifyObjectCompatibilityWithInterface void
VerifyType void
VerifyType void
WriteArraySize void
WriteClrTypeInfo bool
WriteClrTypeInfo bool
WriteExtensionDataTypeInfo void
WriteJsonISerializable void
WriteJsonNameWithMapping void
WriteTypeInfo void
XmlObjectSerializerWriteContextComplexJson System

Méthodes publiques

Méthode Description
XmlObjectSerializerWriteContextComplexJson ( DataContractJsonSerializer serializer, DataContract rootTypeDataContract ) : System

Méthodes protégées

Méthode Description
SerializeWithXsiType ( XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType ) : void
WriteDataContractValue ( DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle declaredTypeHandle ) : void
WriteNull ( XmlWriterDelegator xmlWriter ) : void
WriteTypeInfo ( XmlWriterDelegator writer, DataContract contract, DataContract declaredContract ) : bool
WriteTypeInfo ( XmlWriterDelegator writer, string dataContractName, string dataContractNamespace ) : void

Private Methods

Méthode Description
CheckIfTypeNeedsVerifcation ( DataContract declaredContract, DataContract runtimeContract ) : void
CreateContext ( DataContractJsonSerializer serializer, DataContract rootTypeDataContract ) : System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson
CreateContext ( DataContractJsonSerializerImpl serializer, DataContract rootTypeDataContract ) : System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson
GetDataContract ( RuntimeTypeHandle typeHandle, Type type ) : DataContract
GetDataContract ( int id, RuntimeTypeHandle typeHandle ) : DataContract
GetDataContractSkipValidation ( int typeId, RuntimeTypeHandle typeHandle, Type type ) : DataContract
GetRevisedItemContract ( DataContract oldItemContract ) : DataContract
HandleCollectionAssignedToObject ( Type declaredType, DataContract &dataContract, object &obj, bool &verifyKnownType ) : void
RequiresJsonTypeInfo ( DataContract contract ) : bool
SerializeWithXsiTypeAtTopLevel ( DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle originalDeclaredTypeHandle, Type graphType ) : void
TruncateDefaultDataContractNamespace ( string dataContractNamespace ) : string
VerifyObjectCompatibilityWithInterface ( DataContract contract, object graph, Type declaredType ) : void
VerifyType ( DataContract dataContract ) : void
VerifyType ( DataContract dataContract, Type declaredType ) : void
WriteArraySize ( XmlWriterDelegator xmlWriter, int size ) : void
WriteClrTypeInfo ( XmlWriterDelegator xmlWriter, DataContract dataContract ) : bool
WriteClrTypeInfo ( XmlWriterDelegator xmlWriter, string clrTypeName, string clrAssemblyName ) : bool
WriteExtensionDataTypeInfo ( XmlWriterDelegator xmlWriter, IDataNode dataNode ) : void
WriteJsonISerializable ( XmlWriterDelegator xmlWriter, ISerializable obj ) : void
WriteJsonNameWithMapping ( XmlWriterDelegator xmlWriter, XmlDictionaryString memberNames, int index ) : void
WriteTypeInfo ( XmlWriterDelegator writer, string typeInformation ) : void
XmlObjectSerializerWriteContextComplexJson ( DataContractJsonSerializerImpl serializer, DataContract rootTypeDataContract ) : System

Method Details

SerializeWithXsiType() protected méthode

protected SerializeWithXsiType ( XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType ) : void
xmlWriter XmlWriterDelegator
obj object
objectTypeHandle System.RuntimeTypeHandle
objectType System.Type
declaredTypeID int
declaredTypeHandle System.RuntimeTypeHandle
declaredType System.Type
Résultat void

WriteDataContractValue() protected méthode

protected WriteDataContractValue ( DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle declaredTypeHandle ) : void
dataContract DataContract
xmlWriter XmlWriterDelegator
obj object
declaredTypeHandle System.RuntimeTypeHandle
Résultat void

WriteNull() protected méthode

protected WriteNull ( XmlWriterDelegator xmlWriter ) : void
xmlWriter XmlWriterDelegator
Résultat void

WriteTypeInfo() protected méthode

protected WriteTypeInfo ( XmlWriterDelegator writer, DataContract contract, DataContract declaredContract ) : bool
writer XmlWriterDelegator
contract DataContract
declaredContract DataContract
Résultat bool

WriteTypeInfo() protected méthode

protected WriteTypeInfo ( XmlWriterDelegator writer, string dataContractName, string dataContractNamespace ) : void
writer XmlWriterDelegator
dataContractName string
dataContractNamespace string
Résultat void

XmlObjectSerializerWriteContextComplexJson() public méthode

public XmlObjectSerializerWriteContextComplexJson ( DataContractJsonSerializer serializer, DataContract rootTypeDataContract ) : System
serializer DataContractJsonSerializer
rootTypeDataContract DataContract
Résultat System