16 writes to Style
ScenarioTests.Common.Tests (12)
ServiceInterfaces.cs (12)
133
XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc)]
153
[XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc, SupportFaults = true, Use = OperationFormatUse.Encoded)]
157
[XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc, SupportFaults = true, Use = OperationFormatUse.Encoded)]
161
[XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc, SupportFaults = true, Use = OperationFormatUse.Encoded)]
167
[XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc, SupportFaults = true, Use = OperationFormatUse.Encoded)]
703
[XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc, Use = OperationFormatUse.Encoded)]
732
[XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc, Use = OperationFormatUse.Literal)]
761
[XmlSerializerFormat(
Style
= OperationFormatStyle.Document, Use = OperationFormatUse.Literal)]
790
[XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc, Use = OperationFormatUse.Encoded)]
801
[XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc, Use = OperationFormatUse.Literal)]
812
[XmlSerializerFormat(
Style
= OperationFormatStyle.Document, Use = OperationFormatUse.Literal)]
826
[XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc, Use = OperationFormatUse.Encoded)]
System.ServiceModel.Primitives (1)
System\ServiceModel\XmlSerializerFormatAttribute.cs (1)
37
Style
= OperationFormatStyle.Rpc;
System.ServiceModel.Primitives.Tests (3)
Description\OperationBehaviorTest.cs (3)
74
serializerAttribute.
Style
= OperationFormatStyle.Rpc;
130
[XmlSerializerFormat(
Style
= OperationFormatStyle.Rpc)]
143
[XmlSerializerFormat(
Style
= OperationFormatStyle.Document)]
6 references to Style
System.ServiceModel.Primitives (4)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
280
OperationFormatter.Validate(operation, attr.
Style
== OperationFormatStyle.Rpc, attr.IsEncoded);
288
IsRpc = (attr.
Style
== OperationFormatStyle.Rpc);
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
29
base(description, xmlSerializerFormatAttribute.
Style
== OperationFormatStyle.Rpc, xmlSerializerFormatAttribute.IsEncoded)
31
if (xmlSerializerFormatAttribute.IsEncoded && xmlSerializerFormatAttribute.
Style
!= OperationFormatStyle.Rpc)
System.ServiceModel.Primitives.Tests (2)
Description\OperationBehaviorTest.cs (2)
84
Assert.Equal("Rpc", serializerBehavior.XmlSerializerFormatAttribute.
Style
.ToString());
88
Assert.Equal("Document", serializerBehavior.XmlSerializerFormatAttribute.
Style
.ToString());