2 writes to DataContractSurrogate
System.ServiceModel (1)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
146
contractSerializer.
DataContractSurrogate
= contractSurrogate;
System.ServiceModel.Web (1)
System\ServiceModel\Description\DataContractJsonSerializerOperationBehavior.cs (1)
24
this.
DataContractSurrogate
= dataContractSurrogate;
10 references to DataContractSurrogate
System.ServiceModel (4)
System\ServiceModel\Description\DataContractSerializerOperationBehavior.cs (2)
103
return new DataContractSerializer(type, name, ns, knownTypes, MaxItemsInObjectGraph, IgnoreExtensionDataObject, false /*preserveObjectReferences*/,
DataContractSurrogate
, DataContractResolver);
108
return new DataContractSerializer(type, name, ns, knownTypes, MaxItemsInObjectGraph, IgnoreExtensionDataObject, false /*preserveObjectReferences*/,
DataContractSurrogate
, DataContractResolver);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
151
if (serializerFactory != null && serializerFactory.
DataContractSurrogate
!= null)
154
options.DataContractSurrogate = serializerFactory.
DataContractSurrogate
;
System.ServiceModel.Web (6)
System\ServiceModel\Description\DataContractJsonSerializerOperationBehavior.cs (2)
30
return new DataContractJsonSerializer(type, name, knownTypes, this.MaxItemsInObjectGraph, this.IgnoreExtensionDataObject, this.
DataContractSurrogate
, alwaysEmitTypeInformation);
35
return new DataContractJsonSerializer(type, name, knownTypes, this.MaxItemsInObjectGraph, this.IgnoreExtensionDataObject, this.
DataContractSurrogate
, alwaysEmitTypeInformation);
System\ServiceModel\Description\WebHttpBehavior.cs (1)
1101
return new DataContractJsonSerializerOperationFormatter(od, dcsob.MaxItemsInObjectGraph, dcsob.IgnoreExtensionDataObject, dcsob.
DataContractSurrogate
, isWrapped, false, JavascriptCallbackParameterName);
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
205
return new DataContractJsonSerializerOperationFormatter(od, dcsob.MaxItemsInObjectGraph, dcsob.IgnoreExtensionDataObject, dcsob.
DataContractSurrogate
, isWrapped, true, this.JavascriptCallbackParameterName);
System\ServiceModel\Dispatcher\JsonQueryStringConverter.cs (1)
199
this.dataContractSerializerOperationBehavior.IgnoreExtensionDataObject, this.dataContractSerializerOperationBehavior.
DataContractSurrogate
, false); //alwaysEmitTypeInformation
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (1)
66
this.surrogate = dcsob.
DataContractSurrogate
;