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