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