2 writes to Style
System.ServiceModel (2)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
81
dataContractFormatAttribute.
Style
= style;
System\ServiceModel\Description\MessageContractImporter.cs (1)
1888
operationBehavior.DataContractFormatAttribute.
Style
= style;
16 references to Style
System.ServiceModel (16)
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
182
instance.SetProperty(AdministrationStrings.Style, specificBehavior.DataContractFormatAttribute.
Style
.ToString());
System\ServiceModel\Description\DataContractSerializerOperationBehavior.cs (1)
124
return new PrimitiveOperationFormatter(operation, dataContractFormatAttribute.
Style
== OperationFormatStyle.Rpc);
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (3)
79
OperationFormatStyle style = dataContractFormatAttribute.
Style
;
82
if (dataContractFormatAttribute.
Style
!= TypeLoader.DefaultDataContractFormatAttribute.
Style
)
System\ServiceModel\Description\MessageContractExporter.cs (8)
756
isRpc = dataContractSerializerBehavior.DataContractFormatAttribute.
Style
== OperationFormatStyle.Rpc;
920
return ((DataContractSerializerOperationBehavior)extension).DataContractFormatAttribute.
Style
== OperationFormatStyle.Rpc;
972
if (dataContractFormatAttribute.
Style
== OperationFormatStyle.Document && isWrapped)
980
ExportMessagePart(wsdlMessage, description.Body.ReturnValue, typeName, xsdType, true/*isOptional*/, IsTypeNullable(description.Body.ReturnValue.Type), false/*isOperationInherited*/, dataContractFormatAttribute.
Style
!= OperationFormatStyle.Rpc, description.Body.WrapperNamespace, wrapperSequence, SchemaSet);
988
ExportMessagePart(wsdlMessage, bodyPart, typeName, xsdType, true/*isOptional*/, IsTypeNullable(bodyPart.Type), false/*isOperationInherited*/, dataContractFormatAttribute.
Style
!= OperationFormatStyle.Rpc, description.Body.WrapperNamespace, wrapperSequence, SchemaSet);
990
if (dataContractFormatAttribute.
Style
== OperationFormatStyle.Rpc)
1023
return dcFormatAttr.
Style
== otherExtensionData.dcFormatAttr.
Style
;
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (3)
89
: base(description, dataContractFormatAttribute.
Style
== OperationFormatStyle.Rpc, false/*isEncoded*/)
125
messageInfo.BodyParts[i] = CreatePartInfo(parts[i], dataContractFormatAttribute.
Style
, serializerFactory);
127
messageInfo.ReturnPart = CreatePartInfo(messageDescription.Body.ReturnValue, dataContractFormatAttribute.
Style
, serializerFactory);