33 references to OperationFormatStyle
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 (18)
System\ServiceModel\DataContractFormatAttribute.cs (2)
12
private
OperationFormatStyle
_style;
13
public
OperationFormatStyle
Style
System\ServiceModel\Description\DataContractSerializerOperationBehavior.cs (1)
118
return new PrimitiveOperationFormatter(operation, DataContractFormatAttribute.Style ==
OperationFormatStyle
.Rpc);
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\DataContractSerializerOperationFormatter.cs (4)
76
: base(description, dataContractFormatAttribute.Style ==
OperationFormatStyle
.Rpc, false/*isEncoded*/)
148
messageInfo.HeaderParts[i] = CreatePartInfo(headerDescription,
OperationFormatStyle
.Document, serializerFactory);
158
private PartInfo CreatePartInfo(MessagePartDescription part,
OperationFormatStyle
style, DataContractSerializerOperationBehavior serializerFactory)
160
string ns = (style ==
OperationFormatStyle
.Rpc || part.Namespace == null) ? string.Empty : part.Namespace;
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\OperationFormatStyle.cs (3)
19
static public bool IsDefined(
OperationFormatStyle
x)
22
x ==
OperationFormatStyle
.Document ||
23
x ==
OperationFormatStyle
.Rpc ||
System\ServiceModel\XmlSerializerFormatAttribute.cs (4)
11
private
OperationFormatStyle
_style;
17
public
OperationFormatStyle
Style
37
Style =
OperationFormatStyle
.Rpc;
48
internal static void ValidateOperationFormatStyle(
OperationFormatStyle
value)
System.ServiceModel.Primitives.Tests (3)
Description\OperationBehaviorTest.cs (3)
74
serializerAttribute.Style =
OperationFormatStyle
.Rpc;
130
[XmlSerializerFormat(Style =
OperationFormatStyle
.Rpc)]
143
[XmlSerializerFormat(Style =
OperationFormatStyle
.Document)]