15 references to XamlHostingConfiguration
System.Xaml.Hosting (15)
System\Xaml\Hosting\Configuration\HandlerElement.cs (8)
23
ConfigurationProperty handler = new ConfigurationProperty(
XamlHostingConfiguration
.HttpHandlerType, typeof(string), " ", null, new StringValidator(1), ConfigurationPropertyOptions.IsRequired);
24
ConfigurationProperty xamlRoot = new ConfigurationProperty(
XamlHostingConfiguration
.XamlRootElementType, typeof(string), " ", null, new StringValidator(1), ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired);
43
[ConfigurationProperty(
XamlHostingConfiguration
.HttpHandlerType, DefaultValue = " ",
50
return (string)base[
XamlHostingConfiguration
.HttpHandlerType];
58
base[
XamlHostingConfiguration
.HttpHandlerType] = value;
62
[ConfigurationProperty(
XamlHostingConfiguration
.XamlRootElementType, DefaultValue = " ",
69
return (string)base[
XamlHostingConfiguration
.XamlRootElementType];
77
base[
XamlHostingConfiguration
.XamlRootElementType] = value;
System\Xaml\Hosting\Configuration\XamlHostingConfiguration.cs (1)
35
return (XamlHostingSection)WebConfigurationManager.GetSection(
XamlHostingConfiguration
.XamlHostingSection, virtualPath);
System\Xaml\Hosting\Configuration\XamlHostingSection.cs (2)
14
[ConfigurationProperty(
XamlHostingConfiguration
.CollectionName, IsDefaultCollection = true)]
19
return (HandlerElementCollection)base[
XamlHostingConfiguration
.CollectionName];
System\Xaml\Hosting\Configuration\XamlHostingSectionGroup.cs (1)
22
return (XamlHostingSection)this.Sections[
XamlHostingConfiguration
.XamlHostingConfigGroup];
System\Xaml\Hosting\XamlBuildProvider.cs (1)
157
XamlHostingConfiguration
.TryGetHttpHandlerType(this.VirtualPath, rootXamlType.UnderlyingType, out httpHandlerType);
System\Xaml\Hosting\XamlHttpHandlerFactory.cs (2)
248
if (
XamlHostingConfiguration
.TryGetHttpHandlerType(url, this.hostedXamlType, out httpHandlerType))
283
new ConfigurationErrorsException(SR.HttpHandlerForXamlTypeNotFound(url, this.hostedXamlType,
XamlHostingConfiguration
.XamlHostingSection));