68 references to WebConfigurationStrings
System.ServiceModel.Web (68)
System\ServiceModel\Configuration\WebHttpBindingElement.cs (8)
124
[ConfigurationProperty(
WebConfigurationStrings
.ContentTypeMapper, DefaultValue = "")]
128
get { return (string)base[
WebConfigurationStrings
.ContentTypeMapper]; }
135
base[
WebConfigurationStrings
.ContentTypeMapper] = value;
139
[ConfigurationProperty(
WebConfigurationStrings
.CrossDomainScriptAccessEnabled, DefaultValue = false)]
142
get { return (bool)base[
WebConfigurationStrings
.CrossDomainScriptAccessEnabled]; }
145
base[
WebConfigurationStrings
.CrossDomainScriptAccessEnabled] = value;
174
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.CrossDomainScriptAccessEnabled, typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
201
SetPropertyValueIfNotDefaultValue(
WebConfigurationStrings
.CrossDomainScriptAccessEnabled, webBinding.CrossDomainScriptAccessEnabled);
System\ServiceModel\Configuration\WebHttpElement.cs (20)
20
[ConfigurationProperty(
WebConfigurationStrings
.HelpEnabled)]
23
get { return (bool)base[
WebConfigurationStrings
.HelpEnabled]; }
24
set { base[
WebConfigurationStrings
.HelpEnabled] = value; }
27
[ConfigurationProperty(
WebConfigurationStrings
.DefaultBodyStyle)]
31
get { return (WebMessageBodyStyle)base[
WebConfigurationStrings
.DefaultBodyStyle]; }
32
set { base[
WebConfigurationStrings
.DefaultBodyStyle] = value; }
35
[ConfigurationProperty(
WebConfigurationStrings
.DefaultOutgoingResponseFormat)]
39
get { return (WebMessageFormat)base[
WebConfigurationStrings
.DefaultOutgoingResponseFormat]; }
40
set { base[
WebConfigurationStrings
.DefaultOutgoingResponseFormat] = value; }
43
[ConfigurationProperty(
WebConfigurationStrings
.AutomaticFormatSelectionEnabled)]
46
get { return (bool)base[
WebConfigurationStrings
.AutomaticFormatSelectionEnabled]; }
47
set { base[
WebConfigurationStrings
.AutomaticFormatSelectionEnabled] = value; }
50
[ConfigurationProperty(
WebConfigurationStrings
.FaultExceptionEnabled)]
53
get { return (bool)base[
WebConfigurationStrings
.FaultExceptionEnabled]; }
54
set { base[
WebConfigurationStrings
.FaultExceptionEnabled] = value; }
64
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.HelpEnabled, typeof(bool), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
65
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.DefaultBodyStyle, typeof(System.ServiceModel.Web.WebMessageBodyStyle), System.ServiceModel.Web.WebMessageBodyStyle.Bare, null, new System.ServiceModel.Configuration.InternalEnumValidator(typeof(System.ServiceModel.Web.WebMessageBodyStyleHelper)), System.Configuration.ConfigurationPropertyOptions.None));
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));
67
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.AutomaticFormatSelectionEnabled, typeof(bool), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
68
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.FaultExceptionEnabled, typeof(bool), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\WebHttpEndpointElement.cs (30)
96
[ConfigurationProperty(
WebConfigurationStrings
.ContentTypeMapper, DefaultValue = "")]
100
get { return (string)base[
WebConfigurationStrings
.ContentTypeMapper]; }
107
base[
WebConfigurationStrings
.ContentTypeMapper] = value;
111
[ConfigurationProperty(
WebConfigurationStrings
.HelpEnabled, DefaultValue = false)]
114
get { return (bool)base[
WebConfigurationStrings
.HelpEnabled]; }
115
set { base[
WebConfigurationStrings
.HelpEnabled] = value; }
118
[ConfigurationProperty(
WebConfigurationStrings
.FaultExceptionEnabled, DefaultValue = false)]
121
get { return (bool)base[
WebConfigurationStrings
.FaultExceptionEnabled]; }
122
set { base[
WebConfigurationStrings
.FaultExceptionEnabled] = value; }
125
[ConfigurationProperty(
WebConfigurationStrings
.DefaultOutgoingResponseFormat, DefaultValue = WebMessageFormat.Xml)]
129
get { return (WebMessageFormat)base[
WebConfigurationStrings
.DefaultOutgoingResponseFormat]; }
130
set { base[
WebConfigurationStrings
.DefaultOutgoingResponseFormat] = value; }
133
[ConfigurationProperty(
WebConfigurationStrings
.AutomaticFormatSelectionEnabled, DefaultValue = false)]
136
get { return (bool)base[
WebConfigurationStrings
.AutomaticFormatSelectionEnabled]; }
137
set { base[
WebConfigurationStrings
.AutomaticFormatSelectionEnabled] = value; }
140
[ConfigurationProperty(
WebConfigurationStrings
.CrossDomainScriptAccessEnabled, DefaultValue = false)]
143
get { return (bool)base[
WebConfigurationStrings
.CrossDomainScriptAccessEnabled]; }
144
set { base[
WebConfigurationStrings
.CrossDomainScriptAccessEnabled] = value; }
162
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.ContentTypeMapper, typeof(string), string.Empty, null, new System.Configuration.StringValidator(0), System.Configuration.ConfigurationPropertyOptions.None));
163
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.HelpEnabled, typeof(bool), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
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));
165
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.AutomaticFormatSelectionEnabled, typeof(bool), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
166
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.CrossDomainScriptAccessEnabled, typeof(bool), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
167
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.FaultExceptionEnabled, typeof(bool), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
239
if (IsSet(
WebConfigurationStrings
.HelpEnabled))
243
if (IsSet(
WebConfigurationStrings
.DefaultOutgoingResponseFormat))
247
if (IsSet(
WebConfigurationStrings
.AutomaticFormatSelectionEnabled))
251
if (IsSet(
WebConfigurationStrings
.CrossDomainScriptAccessEnabled))
255
if (IsSet(
WebConfigurationStrings
.FaultExceptionEnabled))
264
if (IsSet(
WebConfigurationStrings
.ContentTypeMapper))
System\ServiceModel\Configuration\WebScriptEndpointElement.cs (10)
96
[ConfigurationProperty(
WebConfigurationStrings
.ContentTypeMapper, DefaultValue = "")]
100
get { return (string)base[
WebConfigurationStrings
.ContentTypeMapper]; }
107
base[
WebConfigurationStrings
.ContentTypeMapper] = value;
111
[ConfigurationProperty(
WebConfigurationStrings
.CrossDomainScriptAccessEnabled, DefaultValue = false)]
114
get { return (bool)base[
WebConfigurationStrings
.CrossDomainScriptAccessEnabled]; }
115
set { base[
WebConfigurationStrings
.CrossDomainScriptAccessEnabled] = value; }
133
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.ContentTypeMapper, typeof(string), string.Empty, null, new System.Configuration.StringValidator(0), System.Configuration.ConfigurationPropertyOptions.None));
134
properties.Add(new ConfigurationProperty(
WebConfigurationStrings
.CrossDomainScriptAccessEnabled, typeof(bool), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
205
if (IsSet(
WebConfigurationStrings
.CrossDomainScriptAccessEnabled))
214
if (IsSet(
WebConfigurationStrings
.ContentTypeMapper))