5 instantiations of XmlSerializerOperationBehavior
System.ServiceModel (4)
System\ServiceModel\Description\MessageContractImporter.cs (1)
2134
operationBehavior = new
XmlSerializerOperationBehavior
(operation);
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
74
return new
XmlSerializerOperationBehavior
(operation).CreateFormatter();
79
return new
XmlSerializerOperationBehavior
(operation, attr).CreateFormatter();
105
operation.Behaviors.Add(new
XmlSerializerOperationBehavior
(operationReflector, builtInOperationBehavior));
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\ContractInferenceHelper.cs (1)
503
operation.Behaviors.Add(new
XmlSerializerOperationBehavior
(operation, XmlSerializerFormatAttribute));
64 references to XmlSerializerOperationBehavior
System.ServiceModel (44)
System\ServiceModel\Administration\ContractInstanceProvider.cs (3)
201
else if (behavior is
XmlSerializerOperationBehavior
)
204
XmlSerializerOperationBehavior
specificBehavior = (
XmlSerializerOperationBehavior
)behavior;
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (2)
171
XmlSerializerOperationBehavior
.AddBehaviors(contractDescription);
180
operation.Formatter =
XmlSerializerOperationBehavior
.CreateOperationFormatter(opDesc);
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (2)
165
XmlSerializerOperationBehavior
.AddBehaviors(contractDescription);
174
operation.Formatter =
XmlSerializerOperationBehavior
.CreateOperationFormatter(opDesc);
System\ServiceModel\Description\MessageContractExporter.cs (20)
765
XmlSerializerOperationBehavior
xmlSerializerBehavior = operation.Behaviors.Find<
XmlSerializerOperationBehavior
>();
1042
return ((
XmlSerializerOperationBehavior
)extension).XmlSerializerFormatAttribute.Style == OperationFormatStyle.Rpc;
1047
return ((
XmlSerializerOperationBehavior
)extension).XmlSerializerFormatAttribute.IsEncoded;
1057
XmlSerializerOperationBehavior
serializerBehavior = this.extension as
XmlSerializerOperationBehavior
;
1075
XmlSerializerOperationBehavior
.Reflector.OperationReflector operationReflector = (
XmlSerializerOperationBehavior
.Reflector.OperationReflector)state;
1105
XmlSerializerOperationBehavior
.Reflector.OperationReflector operationReflector = (
XmlSerializerOperationBehavior
.Reflector.OperationReflector)state;
1130
XmlSerializerOperationBehavior
.Reflector.OperationReflector operationReflector = (
XmlSerializerOperationBehavior
.Reflector.OperationReflector)state;
1145
void ExportFault(FaultDescription fault,
XmlSerializerOperationBehavior
.Reflector.OperationReflector operationReflector)
1160
XmlQualifiedName ExportFaultElement(FaultDescription fault,
XmlSerializerOperationBehavior
.Reflector.OperationReflector operationReflector)
1177
return new ExtensionData(((
XmlSerializerOperationBehavior
)this.extension).XmlSerializerFormatAttribute);
1242
XmlSerializerOperationBehavior
.Reflector Reflector
1247
if (!exporter.State.TryGetValue(typeof(
XmlSerializerOperationBehavior
.Reflector), out reflector))
1249
reflector = new
XmlSerializerOperationBehavior
.Reflector(contractContext.Contract.Namespace, contractContext.Contract.ContractType);
1250
exporter.State.Add(typeof(
XmlSerializerOperationBehavior
.Reflector), reflector);
1252
return (
XmlSerializerOperationBehavior
.Reflector)reflector;
System\ServiceModel\Description\MessageContractImporter.cs (2)
2128
XmlSerializerOperationBehavior
operationBehavior = operation.Behaviors.Find<
XmlSerializerOperationBehavior
>();
System\ServiceModel\Description\TypedMessageConverter.cs (1)
73
return
XmlSerializerOperationBehavior
.CreateOperationFormatter(operation, (XmlSerializerFormatAttribute)formatAttribute);
System\ServiceModel\Description\TypeLoader.cs (1)
313
XmlSerializerOperationBehavior
.AddBuiltInBehaviors(contractDesc);
System\ServiceModel\Description\WsdlExporter.cs (2)
446
XmlSerializerOperationBehavior
xsob = extension as
XmlSerializerOperationBehavior
;
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (3)
138
XmlSerializerOperationBehavior
xmlSerializerOperationBehavior = context.Operation.Behaviors.Find<
XmlSerializerOperationBehavior
>() as
XmlSerializerOperationBehavior
;
System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (8)
20
SynchronizedCollection<
XmlSerializerOperationBehavior
.Reflector.XmlSerializerFaultContractInfo> xmlSerializerFaultContractInfos;
23
SynchronizedCollection<
XmlSerializerOperationBehavior
.Reflector.XmlSerializerFaultContractInfo> xmlSerializerFaultContractInfos)
30
SynchronizedCollection<
XmlSerializerOperationBehavior
.Reflector.XmlSerializerFaultContractInfo> xmlSerializerFaultContractInfos)
36
void Initialize(SynchronizedCollection<
XmlSerializerOperationBehavior
.Reflector.XmlSerializerFaultContractInfo> xmlSerializerFaultContractInfos)
49
XmlSerializerOperationBehavior
.Reflector.XmlSerializerFaultContractInfo faultInfo = null;
71
IList<
XmlSerializerOperationBehavior
.Reflector.XmlSerializerFaultContractInfo> faultInfos;
74
faultInfos = new List<
XmlSerializerOperationBehavior
.Reflector.XmlSerializerFaultContractInfo>();
93
XmlSerializerOperationBehavior
.Reflector.XmlSerializerFaultContractInfo faultInfo = faultInfos[i];
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\ContractInferenceHelper.cs (2)
498
if (operation.Behaviors.Find<
XmlSerializerOperationBehavior
>() != null)
501
SR.OperationHasSerializerBehavior(operation.Name, operation.DeclaringContract.Name, typeof(
XmlSerializerOperationBehavior
))));
System\ServiceModel\Activities\Receive.cs (1)
514
if (operation.Behaviors.Contains(typeof(
XmlSerializerOperationBehavior
)))
System\ServiceModel\Activities\WorkflowService.cs (1)
1140
SerializerOption targetSerializerOption = targetOperation.Behaviors.Contains(typeof(
XmlSerializerOperationBehavior
)) ?
System.ServiceModel.Web (16)
System\ServiceModel\Description\WebHttpBehavior.cs (11)
31
XmlSerializerOperationBehavior
.Reflector reflector;
120
this.reflector = new
XmlSerializerOperationBehavior
.Reflector(endpoint.Contract.Namespace, null);
173
this.reflector = new
XmlSerializerOperationBehavior
.Reflector(endpoint.Contract.Namespace, null);
516
XmlSerializerOperationBehavior
xsob = od.Behaviors.Find<
XmlSerializerOperationBehavior
>();
1088
XmlSerializerOperationBehavior
xsob = od.Behaviors.Find<
XmlSerializerOperationBehavior
>();
1238
XmlSerializerOperationBehavior
xsob = operationDescription.Behaviors.Find<
XmlSerializerOperationBehavior
>();
1259
XmlSerializerOperationBehavior
xsob = od.Behaviors.Find<
XmlSerializerOperationBehavior
>();
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
158
if (operation.Behaviors.Find<
XmlSerializerOperationBehavior
>() != null)
System\ServiceModel\Dispatcher\HelpPage.cs (1)
357
bool usesXmlSerializer = od.Behaviors.Contains(typeof(
XmlSerializerOperationBehavior
));
System\ServiceModel\Dispatcher\SingleBodyParameterMessageFormatter.cs (2)
250
XmlSerializerOperationBehavior
xsob = operation.Behaviors.Find<
XmlSerializerOperationBehavior
>();
System\ServiceModel\Dispatcher\SingleBodyParameterXmlSerializerMessageFormatter.cs (1)
28
public SingleBodyParameterXmlSerializerMessageFormatter(OperationDescription operation, Type parameterType, bool isRequestFormatter,
XmlSerializerOperationBehavior
xsob, UnwrappedTypesXmlSerializerManager serializerManager)