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