1 implementation of IDataContractSurrogate
System.ServiceModel (1)
System\ServiceModel\ComIntegration\PersistStreamTypeWrapper.cs (1)
260
internal class DataContractSurrogateForPersistWrapper :
IDataContractSurrogate
52 references to IDataContractSurrogate
System.Runtime.Serialization (44)
System\Runtime\Serialization\CodeExporter.cs (2)
43
static readonly object surrogateDataKey = typeof(
IDataContractSurrogate
);
675
IDataContractSurrogate
dataContractSurrogate = this.dataContractSet.DataContractSurrogate;
System\Runtime\Serialization\DataContractSerializer.cs (13)
31
IDataContractSurrogate
dataContractSurrogate;
53
IDataContractSurrogate
dataContractSurrogate)
63
IDataContractSurrogate
dataContractSurrogate,
84
IDataContractSurrogate
dataContractSurrogate)
94
IDataContractSurrogate
dataContractSurrogate,
116
IDataContractSurrogate
dataContractSurrogate)
126
IDataContractSurrogate
dataContractSurrogate,
147
IDataContractSurrogate
dataContractSurrogate,
179
IDataContractSurrogate
dataContractSurrogate,
229
public
IDataContractSurrogate
DataContractSurrogate
429
internal void SetDataContractSurrogate(
IDataContractSurrogate
adapter)
509
internal static object SurrogateToDataContractType(
IDataContractSurrogate
dataContractSurrogate, object oldObj, Type surrogatedDeclaredType, ref Type objType)
522
internal static Type GetSurrogatedType(
IDataContractSurrogate
dataContractSurrogate, Type type)
System\Runtime\Serialization\DataContractSerializerSettings.cs (1)
54
public
IDataContractSurrogate
DataContractSurrogate { get; set; }
System\Runtime\Serialization\DataContractSet.cs (4)
20
IDataContractSurrogate
dataContractSurrogate;
29
internal DataContractSet(
IDataContractSurrogate
dataContractSurrogate) : this(dataContractSurrogate, null, null) { }
31
internal DataContractSet(
IDataContractSurrogate
dataContractSurrogate, ICollection<Type> referencedTypes, ICollection<Type> referencedCollectionTypes)
313
public
IDataContractSurrogate
DataContractSurrogate
System\Runtime\Serialization\ExportOptions.cs (3)
14
IDataContractSurrogate
dataContractSurrogate;
16
public
IDataContractSurrogate
DataContractSurrogate
22
internal
IDataContractSurrogate
GetSurrogate()
System\Runtime\Serialization\IDataContractSurrogate.cs (8)
25
internal static Type GetDataContractType(
IDataContractSurrogate
surrogate, Type type)
35
internal static object GetObjectToSerialize(
IDataContractSurrogate
surrogate, object obj, Type objType, Type membertype)
43
internal static object GetDeserializedObject(
IDataContractSurrogate
surrogate, object obj, Type objType, Type memberType)
51
internal static object GetCustomDataToExport(
IDataContractSurrogate
surrogate, MemberInfo memberInfo, Type dataContractType)
55
internal static object GetCustomDataToExport(
IDataContractSurrogate
surrogate, Type clrType, Type dataContractType)
61
internal static void GetKnownCustomDataTypes(
IDataContractSurrogate
surrogate, Collection<Type> customDataTypes)
65
internal static Type GetReferencedTypeOnImport(
IDataContractSurrogate
surrogate, string typeName, string typeNamespace, object customData)
71
internal static CodeTypeDeclaration ProcessImportedType(
IDataContractSurrogate
surrogate, CodeTypeDeclaration typeDeclaration, CodeCompileUnit compileUnit)
System\Runtime\Serialization\ImportOptions.cs (2)
24
IDataContractSurrogate
dataContractSurrogate;
92
public
IDataContractSurrogate
DataContractSurrogate
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (7)
25
IDataContractSurrogate
dataContractSurrogate;
72
IDataContractSurrogate
dataContractSurrogate,
83
IDataContractSurrogate
dataContractSurrogate,
95
IDataContractSurrogate
dataContractSurrogate,
114
public
IDataContractSurrogate
DataContractSurrogate
532
IDataContractSurrogate
dataContractSurrogate,
572
IDataContractSurrogate
dataContractSurrogate,
System\Runtime\Serialization\Json\DataContractJsonSerializerSettings.cs (1)
51
public
IDataContractSurrogate
DataContractSurrogate { get; set; }
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (1)
32
protected
IDataContractSurrogate
dataContractSurrogate;
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
27
protected
IDataContractSurrogate
dataContractSurrogate;
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
233
IDataContractSurrogate
dataContractSurrogate;
System.ServiceModel (4)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (2)
93
IDataContractSurrogate
contractSurrogate = null;
139
void ConfigureOperationDescriptionBehaviors(OperationDescription operation,
IDataContractSurrogate
contractSurrogate)
System\ServiceModel\Description\DataContractSerializerOperationBehavior.cs (2)
26
IDataContractSurrogate
dataContractSurrogate;
89
public
IDataContractSurrogate
DataContractSurrogate
System.ServiceModel.Web (4)
System\ServiceModel\Description\DataContractJsonSerializerOperationBehavior.cs (1)
19
public DataContractJsonSerializerOperationBehavior(OperationDescription description, int maxItemsInObjectGraph, bool ignoreExtensionDataObject,
IDataContractSurrogate
dataContractSurrogate, bool alwaysEmitTypeInformation)
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (1)
29
public DataContractJsonSerializerOperationFormatter(OperationDescription description, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, System.Runtime.Serialization.
IDataContractSurrogate
dataContractSurrogate, bool isWrapped, bool useAspNetAjaxJson, string callbackParameterName)
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (2)
30
IDataContractSurrogate
surrogate;
186
static void ValidateType(Type parameterType,
IDataContractSurrogate
surrogate, IEnumerable<Type> knownTypes)