Backport of some changes from svn trunk - performance improvement and a fix for bug...
[mono-project.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / SystemWebSectionGroup.cs
bloba076c4e1c69f0c0a3b7ede5f3bf0a1bcaf49091e
1 //
2 // System.Web.Configuration.SystemWebSectionGroup
3 //
4 // Authors:
5 // Chris Toshok (toshok@ximian.com)
6 //
7 // (C) 2005 Novell, Inc (http://www.novell.com)
8 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 //
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 //
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 #if NET_2_0
33 using System;
34 using System.Configuration;
35 #if WEBSERVICES_DEP
36 using System.Web.Services.Configuration;
37 #endif
39 namespace System.Web.Configuration
41 public sealed class SystemWebSectionGroup : ConfigurationSectionGroup
43 [ConfigurationProperty ("anonymousIdentification")]
44 public AnonymousIdentificationSection AnonymousIdentification {
45 get { return (AnonymousIdentificationSection)Sections ["anonymousIdentification"]; }
48 [ConfigurationProperty ("authentication")]
49 public AuthenticationSection Authentication {
50 get { return (AuthenticationSection)Sections ["authentication"]; }
53 [ConfigurationProperty ("authorization")]
54 public AuthorizationSection Authorization {
55 get { return (AuthorizationSection)Sections ["authorization"]; }
58 [ConfigurationProperty ("browserCaps")]
59 public DefaultSection BrowserCaps {
60 get { return (DefaultSection)Sections ["browserCaps"]; }
63 [ConfigurationProperty ("clientTarget")]
64 public ClientTargetSection ClientTarget {
65 get { return (ClientTargetSection)Sections ["clientTarget"]; }
68 #if !TARGET_JVM
69 [ConfigurationProperty ("compilation")]
70 public CompilationSection Compilation {
71 get { return (CompilationSection)Sections ["compilation"]; }
73 #endif
75 [ConfigurationProperty ("customErrors")]
76 public CustomErrorsSection CustomErrors {
77 get { return (CustomErrorsSection)Sections ["customErrors"]; }
80 [ConfigurationProperty ("deployment")]
81 public DeploymentSection Deployment {
82 get { return (DeploymentSection)Sections ["deployment"]; }
85 [ConfigurationProperty ("deviceFilters")]
86 public DefaultSection DeviceFilters {
87 get { return (DefaultSection)Sections ["deviceFilters"]; }
90 [ConfigurationProperty ("globalization")]
91 public GlobalizationSection Globalization {
92 get { return (GlobalizationSection)Sections ["globalization"]; }
95 [ConfigurationProperty ("healthMonitoring")]
96 public HealthMonitoringSection HealthMonitoring {
97 get { return (HealthMonitoringSection)Sections ["healthMonitoring"]; }
100 [ConfigurationProperty ("hostingEnvironment")]
101 public HostingEnvironmentSection HostingEnvironment {
102 get { return (HostingEnvironmentSection)Sections ["hostingEnvironment"]; }
105 [ConfigurationProperty ("httpCookies")]
106 public HttpCookiesSection HttpCookies {
107 get { return (HttpCookiesSection)Sections ["httpCookies"]; }
110 [ConfigurationProperty ("httpHandlers")]
111 public HttpHandlersSection HttpHandlers {
112 get { return (HttpHandlersSection)Sections ["httpHandlers"]; }
115 [ConfigurationProperty ("httpModules")]
116 public HttpModulesSection HttpModules {
117 get { return (HttpModulesSection)Sections ["httpModules"]; }
120 [ConfigurationProperty ("httpRuntime")]
121 public HttpRuntimeSection HttpRuntime {
122 get { return (HttpRuntimeSection)Sections ["httpRuntime"]; }
125 [ConfigurationProperty ("identity")]
126 public IdentitySection Identity {
127 get { return (IdentitySection)Sections ["identity"]; }
130 [ConfigurationProperty ("machineKey")]
131 public MachineKeySection MachineKey {
132 get { return (MachineKeySection)Sections ["machineKey"]; }
135 [ConfigurationProperty ("membership")]
136 public MembershipSection Membership {
137 get { return (MembershipSection)Sections ["membership"]; }
140 [ConfigurationProperty ("mobileControls")]
141 public ConfigurationSection MobileControls {
142 get { return Sections ["MobileControls"]; }
145 [ConfigurationProperty ("pages")]
146 public PagesSection Pages {
147 get { return (PagesSection)Sections ["pages"]; }
150 [ConfigurationProperty ("processModel")]
151 public ProcessModelSection ProcessModel {
152 get { return (ProcessModelSection)Sections ["processModel"]; }
155 [ConfigurationProperty ("profile")]
156 public ProfileSection Profile {
157 get { return (ProfileSection)Sections ["profile"]; }
160 [ConfigurationProperty ("protocols")]
161 public DefaultSection Protocols {
162 get { return (DefaultSection)Sections ["protocols"]; }
165 [ConfigurationProperty ("roleManager")]
166 public RoleManagerSection RoleManager {
167 get { return (RoleManagerSection)Sections ["roleManager"]; }
170 [ConfigurationProperty ("securityPolicy")]
171 public SecurityPolicySection SecurityPolicy {
172 get { return (SecurityPolicySection)Sections ["securityPolicy"]; }
175 [ConfigurationProperty ("sessionState")]
176 public SessionStateSection SessionState {
177 get { return (SessionStateSection)Sections ["sessionState"]; }
180 [ConfigurationProperty ("siteMap")]
181 public SiteMapSection SiteMap {
182 get { return (SiteMapSection)Sections ["siteMap"]; }
185 [ConfigurationProperty ("trace")]
186 public TraceSection Trace {
187 get { return (TraceSection)Sections ["trace"]; }
190 [ConfigurationProperty ("trust")]
191 public TrustSection Trust {
192 get { return (TrustSection)Sections ["trust"]; }
195 [ConfigurationProperty ("urlMappings")]
196 public UrlMappingsSection UrlMappings {
197 get { return (UrlMappingsSection)Sections ["urlMappings"]; }
200 [ConfigurationProperty ("webControls")]
201 public WebControlsSection WebControls {
202 get { return (WebControlsSection)Sections ["webControls"]; }
205 [ConfigurationProperty ("webParts")]
206 public WebPartsSection WebParts {
207 get { return (WebPartsSection)Sections ["webParts"]; }
210 #if WEBSERVICES_DEP
211 [ConfigurationProperty ("webServices")]
212 public WebServicesSection WebServices {
213 get { return (WebServicesSection)Sections ["webServices"]; }
215 #endif
217 [ConfigurationProperty ("xhtmlConformance")]
218 public XhtmlConformanceSection XhtmlConformance {
219 get { return (XhtmlConformanceSection)Sections ["xhtmlConformance"]; }
224 #endif