76 references to OperationFormatStyle
dotnet-svcutil-lib (76)
FrameworkFork\System.ServiceModel\System\ServiceModel\DataContractFormatAttribute.cs (2)
13
private
OperationFormatStyle
_style;
14
public
OperationFormatStyle
Style
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationBehavior.cs (1)
115
return new PrimitiveOperationFormatter(operation, _dataContractFormatAttribute.Style ==
OperationFormatStyle
.Rpc);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
79
OperationFormatStyle
style = dataContractFormatAttribute.Style;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (47)
258
if (operationInfo.Style ==
OperationFormatStyle
.Rpc)
291
OperationFormatStyle
style =
OperationFormatStyle
.Document;
302
OperationFormatStyle
operationStyle = GetStyle(operationBinding);
375
OperationFormatStyle
? inferredOperationStyle = null;
387
OperationFormatStyle
? inferredMessageStyle;
396
&& inferredMessageStyle.Value ==
OperationFormatStyle
.Document))
405
style = inferredOperationStyle ??
OperationFormatStyle
.Document;
408
if (inferredOperationStyle.Value != style && inferredOperationStyle.Value ==
OperationFormatStyle
.Document)
415
private bool CanImportMessage(WsdlNS.Message wsdlMessage, string operationName, out
OperationFormatStyle
? inferredStyle, ref bool areAllMessagesWrapped)
424
inferredStyle =
OperationFormatStyle
.Document;
433
inferredStyle =
OperationFormatStyle
.Document;
446
OperationFormatStyle
style;
518
private static StyleAndUse GetStyleAndUse(
OperationFormatStyle
style, bool isEncoded)
520
if (style ==
OperationFormatStyle
.Document)
647
private bool CanImportStream(WsdlNS.MessagePart part, out
OperationFormatStyle
? style, ref bool areAllMessagesWrapped)
649
style =
OperationFormatStyle
.Document;
665
style =
OperationFormatStyle
.Rpc;
670
style =
OperationFormatStyle
.Document;
1191
private static
OperationFormatStyle
GetStyle(WsdlNS.OperationBinding operationBinding)
1203
return (style == WsdlNS.SoapBindingStyle.Rpc) ?
OperationFormatStyle
.Rpc :
OperationFormatStyle
.Document;
1279
private bool CanImportMessageBinding(WsdlNS.MessageBinding messageBinding, WsdlNS.Message wsdlMessage,
OperationFormatStyle
style, out bool isEncoded)
1347
private bool CanImportFaultBinding(WsdlNS.FaultBinding faultBinding,
OperationFormatStyle
style, out bool isFaultEncoded)
1379
private bool CanImportMessageBodyBinding(WsdlNS.SoapBodyBinding bodyBinding,
OperationFormatStyle
style, out bool isEncoded)
1385
private bool CanImportMessageHeaderBinding(WsdlNS.SoapHeaderBinding headerBinding, WsdlNS.Message wsdlMessage,
OperationFormatStyle
style, out bool isEncoded)
1391
OperationFormatStyle
headerStyle;
1399
private void ImportMessageBinding(WsdlNS.MessageBinding messageBinding, WsdlNS.Message wsdlMessage, MessageDescription description,
OperationFormatStyle
style, bool isEncoded)
1420
private void ImportMessageBodyBinding(WsdlNS.SoapBodyBinding bodyBinding, WsdlNS.Message wsdlMessage, MessageDescription description,
OperationFormatStyle
style, bool isEncoded, string operationName)
1422
if (style ==
OperationFormatStyle
.Rpc && bodyBinding.Namespace != null)
1427
private void ImportMessageHeaderBinding(WsdlNS.SoapHeaderBinding headerBinding, WsdlNS.Message wsdlMessage, MessageDescription description,
OperationFormatStyle
style, bool isEncoded, string operationName)
1459
internal bool CanImportMessagePart(WsdlNS.MessagePart part, out
OperationFormatStyle
style)
1461
style =
OperationFormatStyle
.Document;
1466
style =
OperationFormatStyle
.Rpc;
1527
internal abstract bool CanImportStyleAndUse(
OperationFormatStyle
style, bool isEncoded);
1528
internal abstract void ValidateStyleAndUse(
OperationFormatStyle
style, bool isEncoded, string operationName);
1536
internal abstract void SetOperationStyle(OperationDescription operation,
OperationFormatStyle
style);
1857
internal override bool CanImportStyleAndUse(
OperationFormatStyle
style, bool isEncoded)
1862
internal override void ValidateStyleAndUse(
OperationFormatStyle
style, bool isEncoded, string operationName)
1868
internal override void SetOperationStyle(OperationDescription operation,
OperationFormatStyle
style)
2101
internal override bool CanImportStyleAndUse(
OperationFormatStyle
style, bool isEncoded)
2107
internal override void ValidateStyleAndUse(
OperationFormatStyle
style, bool isEncoded, string operationName)
2109
if (isEncoded && style !=
OperationFormatStyle
.Rpc)
2126
internal override void SetOperationStyle(OperationDescription operation,
OperationFormatStyle
style)
2160
private
OperationFormatStyle
_style;
2164
internal OperationInfo(
OperationFormatStyle
style, bool isEncoded, bool areAllMessagesWrapped)
2170
internal
OperationFormatStyle
Style { get { return _style; } }
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (10)
66
internal void GenerateOperation(OperationContractGenerationContext context, ref
OperationFormatStyle
style, bool isEncoded, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, Dictionary<MessagePartDescription, ICollection<CodeTypeReference>> knownTypes)
96
private readonly
OperationFormatStyle
_style;
122
internal MethodSignatureGenerator(OperationGenerator parent, OperationContractGenerationContext context,
OperationFormatStyle
style, bool isEncoded, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, Dictionary<MessagePartDescription, ICollection<CodeTypeReference>> knownTypes)
134
_defaultNS = (style ==
OperationFormatStyle
.Rpc) ? string.Empty : _contractNS;
148
internal void GenerateSyncSignature(ref
OperationFormatStyle
style)
156
internal void GenerateAsyncSignature(ref
OperationFormatStyle
style)
164
private void GenerateOperationSignatures(ref
OperationFormatStyle
style)
268
private void GenerateTypedMessageOperation(bool hideFromEditor, ref
OperationFormatStyle
style)
296
style =
OperationFormatStyle
.Document;
946
internal void GenerateTaskSignature(ref
OperationFormatStyle
style)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
246
OperationFormatter.Validate(operation, attr.Style ==
OperationFormatStyle
.Rpc, false/*IsEncoded*/);
253
this.IsRpc = (attr.Style ==
OperationFormatStyle
.Rpc);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
144
OperationFormatStyle
style = xmlSerializerFormatAttribute.Style;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (4)
75
: base(description, dataContractFormatAttribute.Style ==
OperationFormatStyle
.Rpc, false/*isEncoded*/)
126
messageInfo.HeaderParts[i] = CreatePartInfo(headerDescription,
OperationFormatStyle
.Document, serializerFactory);
136
private PartInfo CreatePartInfo(MessagePartDescription part,
OperationFormatStyle
style, DataContractSerializerOperationBehavior serializerFactory)
138
string ns = (style ==
OperationFormatStyle
.Rpc || part.Namespace == null) ? string.Empty : part.Namespace;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
32
base(description, xmlSerializerFormatAttribute.Style ==
OperationFormatStyle
.Rpc, false/*isEncoded*/)
FrameworkFork\System.ServiceModel\System\ServiceModel\OperationFormatStyle.cs (3)
17
static public bool IsDefined(
OperationFormatStyle
x)
20
x ==
OperationFormatStyle
.Document ||
21
x ==
OperationFormatStyle
.Rpc ||
FrameworkFork\System.ServiceModel\System\ServiceModel\XmlSerializerFormatAttribute.cs (4)
13
private
OperationFormatStyle
_style;
23
public
OperationFormatStyle
Style
42
Style =
OperationFormatStyle
.Rpc;
52
static internal void ValidateOperationFormatStyle(
OperationFormatStyle
value)