959e2ce69169df1ce97b6f4c131208a43147da10
[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 #if NET_4_0
142                 [Obsolete ("System.Web.Mobile.dll is obsolete.")]
143 #endif
144                 public ConfigurationSection MobileControls {
145                         get { return Sections ["MobileControls"]; }
146                 }
147
148                 [ConfigurationProperty ("pages")]
149                 public PagesSection Pages {
150                         get { return (PagesSection)Sections ["pages"]; }
151                 }
152
153                 [ConfigurationProperty ("processModel")]
154                 public ProcessModelSection ProcessModel {
155                         get { return (ProcessModelSection)Sections ["processModel"]; }
156                 }
157
158                 [ConfigurationProperty ("profile")]
159                 public ProfileSection Profile {
160                         get { return (ProfileSection)Sections ["profile"]; }
161                 }
162
163                 [ConfigurationProperty ("protocols")]
164                 public DefaultSection Protocols {
165                         get { return (DefaultSection)Sections ["protocols"]; }
166                 }
167
168                 [ConfigurationProperty ("roleManager")]
169                 public RoleManagerSection RoleManager {
170                         get { return (RoleManagerSection)Sections ["roleManager"]; }
171                 }
172
173                 [ConfigurationProperty ("securityPolicy")]
174                 public SecurityPolicySection SecurityPolicy {
175                         get { return (SecurityPolicySection)Sections ["securityPolicy"]; }
176                 }
177
178                 [ConfigurationProperty ("sessionState")]
179                 public SessionStateSection SessionState {
180                         get { return (SessionStateSection)Sections ["sessionState"]; }
181                 }
182
183                 [ConfigurationProperty ("siteMap")]
184                 public SiteMapSection SiteMap {
185                         get { return (SiteMapSection)Sections ["siteMap"]; }
186                 }
187
188                 [ConfigurationProperty ("trace")]
189                 public TraceSection Trace {
190                         get { return (TraceSection)Sections ["trace"]; }
191                 }
192
193                 [ConfigurationProperty ("trust")]
194                 public TrustSection Trust {
195                         get { return (TrustSection)Sections ["trust"]; }
196                 }
197
198                 [ConfigurationProperty ("urlMappings")]
199                 public UrlMappingsSection UrlMappings {
200                         get { return (UrlMappingsSection)Sections ["urlMappings"]; }
201                 }
202
203                 [ConfigurationProperty ("webControls")]
204                 public WebControlsSection WebControls {
205                         get { return (WebControlsSection)Sections ["webControls"]; }
206                 }
207
208                 [ConfigurationProperty ("webParts")]
209                 public WebPartsSection WebParts {
210                         get { return (WebPartsSection)Sections ["webParts"]; }
211                 }
212
213 #if WEBSERVICES_DEP
214                 [ConfigurationProperty ("webServices")]
215                 public WebServicesSection WebServices {
216                         get { return (WebServicesSection)Sections ["webServices"]; }
217                 }
218 #endif
219
220                 [ConfigurationProperty ("xhtmlConformance")]
221                 public XhtmlConformanceSection XhtmlConformance {
222                         get { return (XhtmlConformanceSection)Sections ["xhtmlConformance"]; }
223                 }
224         }
225 }
226
227 #endif