7 writes to Use
System.ServiceModel (2)
System\ServiceModel\Description\MessageContractExporter.cs (1)
723
bodyBinding.
Use
= isEncoded ? WsdlNS.SoapBindingUse.Encoded : WsdlNS.SoapBindingUse.Literal;
System\ServiceModel\Description\SoapHelper.cs (1)
365
dest.
Use
= src.Use;
System.Web.Services (5)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
5140
o.
@Use
= Read100_SoapBindingUse(Reader.Value);
5340
o.
@Use
= Read98_SoapBindingUse(Reader.Value);
System\Web\Services\Description\Soap12ProtocolReflector.cs (1)
109
soapBodyBinding.
Use
= use;
System\Web\Services\Description\SoapProtocolImporter.cs (1)
1020
soapBodyBinding.
Use
= SoapBindingUse.Literal;
System\Web\Services\Description\SoapProtocolReflector.cs (1)
300
soapBodyBinding.
Use
= use;
29 references to Use
System.ServiceModel (6)
System\ServiceModel\Description\MessageContractImporter.cs (5)
1123
if (body.
Use
== WsdlNS.SoapBindingUse.Encoded)
1125
else if (body.
Use
== WsdlNS.SoapBindingUse.Literal)
1150
if (body.
Use
== WsdlNS.SoapBindingUse.Encoded)
1152
else if (body.
Use
== WsdlNS.SoapBindingUse.Literal)
1393
isEncoded = (bodyBinding.
Use
== WsdlNS.SoapBindingUse.Encoded);
System\ServiceModel\Description\SoapHelper.cs (1)
365
dest.Use = src.
Use
;
System.Web.Services (23)
System\Web\Services\Description\ServiceDescriptionImporter.cs (4)
351
if (body.
Use
== SoapBindingUse.Encoded)
353
else if (body.
Use
== SoapBindingUse.Literal)
372
if (body.
Use
== SoapBindingUse.Encoded)
374
else if (body.
Use
== SoapBindingUse.Literal)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (4)
890
if (((global::System.Web.Services.Description.SoapBindingUse)o.
@Use
) != global::System.Web.Services.Description.SoapBindingUse.@Default) {
891
WriteAttribute(@"use", @"", Write98_SoapBindingUse(((global::System.Web.Services.Description.SoapBindingUse)o.
@Use
)));
921
if (((global::System.Web.Services.Description.SoapBindingUse)o.
@Use
) != global::System.Web.Services.Description.SoapBindingUse.@Default) {
922
WriteAttribute(@"use", @"", Write100_SoapBindingUse(((global::System.Web.Services.Description.SoapBindingUse)o.
@Use
)));
System\Web\Services\Description\SoapProtocolImporter.cs (12)
690
GenerateHeaders(metadata, soapRequestBinding.
Use
, soapBindingStyle == SoapBindingStyle.Rpc, requestBinding, responseBinding);
710
bool wrapperNamesMatter = (soapBindingStyle != SoapBindingStyle.Rpc && hasWrapper) || (soapRequestBinding.
Use
== SoapBindingUse.Literal && soapBindingStyle == SoapBindingStyle.Rpc);
766
if (soapRequestBinding.
Use
!= SoapBindingUse.Encoded) {
767
AddMetadataProperty("Use", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapBindingUse).FullName), Enum.Format(typeof(SoapBindingUse), soapRequestBinding.
Use
, "G")));
772
AddMetadataProperty("Use", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapBindingUse).FullName), Enum.Format(typeof(SoapBindingUse), soapRequestBinding.
Use
, "G")));
776
IsEncodedBinding = IsEncodedBinding || (soapRequestBinding.
Use
== SoapBindingUse.Encoded);
783
if (soapRequestBinding.
Use
== SoapBindingUse.Encoded)
819
if (soapRequestBinding.
Use
== SoapBindingUse.Encoded)
1019
if (soapBodyBinding.
Use
== SoapBindingUse.Default) {
1022
if (soapBodyBinding.
Use
== SoapBindingUse.Literal) {
1058
else if (soapBodyBinding.
Use
== SoapBindingUse.Encoded) {
1118
if (soapBodyBinding.
Use
== SoapBindingUse.Encoded)
System\Web\Services\Description\WebServicesInteroperability.cs (3)
167
if (soapBodyBinding.
Use
!= SoapBindingUse.Encoded) {
187
if (soapBodyBinding.
Use
!= SoapBindingUse.Encoded) {
428
encodedBinding = (body.
Use
== SoapBindingUse.Encoded);