21 references to Xml
System.ServiceModel.Web (21)
System\ServiceModel\Configuration\WebHttpElement.cs (1)
66
properties.Add(new ConfigurationProperty(WebConfigurationStrings.DefaultOutgoingResponseFormat, typeof(System.ServiceModel.Web.WebMessageFormat), System.ServiceModel.Web.WebMessageFormat.
Xml
, null, new System.ServiceModel.Configuration.InternalEnumValidator(typeof(System.ServiceModel.Web.WebMessageFormatHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\WebHttpEndpointElement.cs (2)
125
[ConfigurationProperty(WebConfigurationStrings.DefaultOutgoingResponseFormat, DefaultValue = WebMessageFormat.
Xml
)]
164
properties.Add(new ConfigurationProperty(WebConfigurationStrings.DefaultOutgoingResponseFormat, typeof(System.ServiceModel.Web.WebMessageFormat), System.ServiceModel.Web.WebMessageFormat.
Xml
, null, new System.ServiceModel.Configuration.InternalEnumValidator(typeof(System.ServiceModel.Web.WebMessageFormatHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Description\WebHttpBehavior.cs (5)
36
defaultOutgoingRequestFormat = WebMessageFormat.
Xml
;
37
defaultOutgoingReplyFormat = WebMessageFormat.
Xml
;
267
replyDispatchAsMultiplexing.DefaultContentTypes.Add(WebMessageFormat.
Xml
, xmlContentType);
629
formatters.Add(WebMessageFormat.
Xml
, SingleBodyParameterMessageFormatter.CreateDispatchFormatter(operationDescription, parameterType, false, false, this.xmlSerializerManager, null));
639
formatters.Add(WebMessageFormat.
Xml
, GetDefaultDispatchFormatter(operationDescription, false, !IsBareResponse(style)));
System\ServiceModel\Dispatcher\HelpPage.cs (7)
321
this.FormatString = WebMessageFormat.
Xml
.ToString();
326
this.FormatString = WebMessageFormat.
Xml
.ToString();
331
this.FormatString = WebMessageFormat.
Xml
.ToString();
336
this.FormatString = WebMessageFormat.
Xml
.ToString();
341
this.FormatString = WebMessageFormat.
Xml
.ToString();
346
this.FormatString = WebMessageFormat.
Xml
.ToString();
351
this.FormatString = WebMessageFormat.
Xml
.ToString();
System\ServiceModel\Dispatcher\MultiplexingDispatchMessageFormatter.cs (2)
93
if (!string.Equals(automatedSelectionContentType, defaultContentTypes[WebMessageFormat.
Xml
], StringComparison.OrdinalIgnoreCase))
101
if (format != WebMessageFormat.
Xml
)
System\ServiceModel\Dispatcher\WebErrorHandler.cs (2)
70
WebMessageFormat? nullableFormat = !isXmlSerializerFaultFormat ? context.OutgoingResponse.Format : WebMessageFormat.
Xml
;
79
case WebMessageFormat.
Xml
:
System\ServiceModel\Dispatcher\XmlFormatMapping.cs (1)
31
get { return WebMessageFormat.
Xml
; }
System\ServiceModel\Web\WebMessageFormatHelper.cs (1)
11
return (format == WebMessageFormat.
Xml
|| format == WebMessageFormat.Json);