2006-11-22 Miguel de Icaza <miguel@novell.com>
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / SystemWebSectionGroup.cs
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 //
9
10 //
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.
29 //
30
31 #if NET_2_0
32
33 using System;
34 using System.Configuration;
35 #if WEBSERVICES_DEP
36 using System.Web.Services.Configuration;
37 #endif
38
39 namespace System.Web.Configuration
40 {
41         public sealed class SystemWebSectionGroup : ConfigurationSectionGroup
42         {
43                 [ConfigurationProperty ("anonymousIdentification")]
44                 public AnonymousIdentificationSection AnonymousIdentification {
45                         get { return (AnonymousIdentificationSection)Sections ["anonymousIdentification"]; }
46                 }
47
48                 [ConfigurationProperty ("authentication")]
49                 public AuthenticationSection Authentication {
50                         get { return (AuthenticationSection)Sections ["authentication"]; }
51                 }
52
53                 [ConfigurationProperty ("authorization")]
54                 public AuthorizationSection Authorization {
55                         get { return (AuthorizationSection)Sections ["authorization"]; }
56                 }
57
58                 [ConfigurationProperty ("browserCaps")]
59                 public DefaultSection BrowserCaps {
60                         get { return (DefaultSection)Sections ["browserCaps"]; }
61                 }
62
63                 [ConfigurationProperty ("clientTarget")]
64                 public ClientTargetSection ClientTarget {
65                         get { return (ClientTargetSection)Sections ["clientTarget"]; }
66                 }
67
68 #if !TARGET_JVM
69                 [ConfigurationProperty ("compilation")]
70                 public CompilationSection Compilation {
71                         get { return (CompilationSection)Sections ["compilation"]; }
72                 }
73 #endif
74
75                 [ConfigurationProperty ("customErrors")]
76                 public CustomErrorsSection CustomErrors {
77                         get { return (CustomErrorsSection)Sections ["customErrors"]; }
78                 }
79
80                 [ConfigurationProperty ("deployment")]
81                 public DeploymentSection Deployment {
82                         get { return (DeploymentSection)Sections ["deployment"]; }
83                 }
84
85                 [ConfigurationProperty ("deviceFilters")]
86                 public DefaultSection DeviceFilters {
87                         get { return (DefaultSection)Sections ["deviceFilters"]; }
88                 }
89
90                 [ConfigurationProperty ("globalization")]
91                 public GlobalizationSection Globalization {
92                         get { return (GlobalizationSection)Sections ["globalization"]; }
93                 }
94
95                 [ConfigurationProperty ("healthMonitoring")]
96                 public HealthMonitoringSection HealthMonitoring {
97                         get { return (HealthMonitoringSection)Sections ["healthMonitoring"]; }
98                 }
99
100                 [ConfigurationProperty ("hostingEnvironment")]
101                 public HostingEnvironmentSection HostingEnvironment {
102                         get { return (HostingEnvironmentSection)Sections ["hostingEnvironment"]; }
103                 }
104
105                 [ConfigurationProperty ("httpCookies")]
106                 public HttpCookiesSection HttpCookies {
107                         get { return (HttpCookiesSection)Sections ["httpCookies"]; }
108                 }
109
110                 [ConfigurationProperty ("httpHandlers")]
111                 public HttpHandlersSection HttpHandlers {
112                         get { return (HttpHandlersSection)Sections ["httpHandlers"]; }
113                 }
114
115                 [ConfigurationProperty ("httpModules")]
116                 public HttpModulesSection HttpModules {
117                         get { return (HttpModulesSection)Sections ["httpModules"]; }
118                 }
119
120                 [ConfigurationProperty ("httpRuntime")]
121                 public HttpRuntimeSection HttpRuntime {
122                         get { return (HttpRuntimeSection)Sections ["httpRuntime"]; }
123                 }
124
125                 [ConfigurationProperty ("identity")]
126                 public IdentitySection Identity {
127                         get { return (IdentitySection)Sections ["identity"]; }
128                 }
129
130                 [ConfigurationProperty ("machineKey")]
131                 public MachineKeySection MachineKey {
132                         get { return (MachineKeySection)Sections ["machineKey"]; }
133                 }
134
135                 [ConfigurationProperty ("membership")]
136                 public MembershipSection Membership {
137                         get { return (MembershipSection)Sections ["membership"]; }
138                 }
139
140                 [ConfigurationProperty ("mobileControls")]
141                 public ConfigurationSection MobileControls {
142                         get { return Sections ["MobileControls"]; }
143                 }
144
145                 [ConfigurationProperty ("pages")]
146                 public PagesSection Pages {
147                         get { return (PagesSection)Sections ["pages"]; }
148                 }
149
150                 [ConfigurationProperty ("processModel")]
151                 public ProcessModelSection ProcessModel {
152                         get { return (ProcessModelSection)Sections ["processModel"]; }
153                 }
154
155                 [ConfigurationProperty ("profile")]
156                 public ProfileSection Profile {
157                         get { return (ProfileSection)Sections ["profile"]; }
158                 }
159
160                 [ConfigurationProperty ("protocols")]
161                 public DefaultSection Protocols {
162                         get { return (DefaultSection)Sections ["protocols"]; }
163                 }
164
165                 [ConfigurationProperty ("roleManager")]
166                 public RoleManagerSection RoleManager {
167                         get { return (RoleManagerSection)Sections ["roleManager"]; }
168                 }
169
170                 [ConfigurationProperty ("securityPolicy")]
171                 public SecurityPolicySection SecurityPolicy {
172                         get { return (SecurityPolicySection)Sections ["securityPolicy"]; }
173                 }
174
175                 [ConfigurationProperty ("sessionState")]
176                 public SessionStateSection SessionState {
177                         get { return (SessionStateSection)Sections ["sessionState"]; }
178                 }
179
180                 [ConfigurationProperty ("siteMap")]
181                 public SiteMapSection SiteMap {
182                         get { return (SiteMapSection)Sections ["siteMap"]; }
183                 }
184
185                 [ConfigurationProperty ("trace")]
186                 public TraceSection Trace {
187                         get { return (TraceSection)Sections ["trace"]; }
188                 }
189
190                 [ConfigurationProperty ("trust")]
191                 public TrustSection Trust {
192                         get { return (TrustSection)Sections ["trust"]; }
193                 }
194
195                 [ConfigurationProperty ("urlMappings")]
196                 public UrlMappingsSection UrlMappings {
197                         get { return (UrlMappingsSection)Sections ["urlMappings"]; }
198                 }
199
200                 [ConfigurationProperty ("webControls")]
201                 public WebControlsSection WebControls {
202                         get { return (WebControlsSection)Sections ["webControls"]; }
203                 }
204
205                 [ConfigurationProperty ("webParts")]
206                 public WebPartsSection WebParts {
207                         get { return (WebPartsSection)Sections ["webParts"]; }
208                 }
209
210 #if WEBSERVICES_DEP
211                 [ConfigurationProperty ("webServices")]
212                 public WebServicesSection WebServices {
213                         get { return (WebServicesSection)Sections ["webServices"]; }
214                 }
215 #endif
216
217                 [ConfigurationProperty ("xhtmlConformance")]
218                 public XhtmlConformanceSection XhtmlConformance {
219                         get { return (XhtmlConformanceSection)Sections ["xhtmlConformance"]; }
220                 }
221         }
222 }
223
224 #endif