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

Inheritance: XmlObjectSerializerWriteContextComplex
Datei anzeigen Open project: dotnet/corefx

Private Properties

Property 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

Public Methods

Method Description
XmlObjectSerializerWriteContextComplexJson ( DataContractJsonSerializer serializer, DataContract rootTypeDataContract ) : System

Protected Methods

Method 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

Method 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 method

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
return void

WriteDataContractValue() protected method

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

WriteNull() protected method

protected WriteNull ( XmlWriterDelegator xmlWriter ) : void
xmlWriter XmlWriterDelegator
return void

WriteTypeInfo() protected method

protected WriteTypeInfo ( XmlWriterDelegator writer, DataContract contract, DataContract declaredContract ) : bool
writer XmlWriterDelegator
contract DataContract
declaredContract DataContract
return bool

WriteTypeInfo() protected method

protected WriteTypeInfo ( XmlWriterDelegator writer, string dataContractName, string dataContractNamespace ) : void
writer XmlWriterDelegator
dataContractName string
dataContractNamespace string
return void

XmlObjectSerializerWriteContextComplexJson() public method

public XmlObjectSerializerWriteContextComplexJson ( DataContractJsonSerializer serializer, DataContract rootTypeDataContract ) : System
serializer DataContractJsonSerializer
rootTypeDataContract DataContract
return System