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