[Cleanup] Removed TARGET_JVM
[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                 [ConfigurationProperty ("compilation")]
69                 public CompilationSection Compilation {
70                         get { return (CompilationSection)Sections ["compilation"]; }
71                 }
72
73                 [ConfigurationProperty ("customErrors")]
74                 public CustomErrorsSection CustomErrors {
75                         get { return (CustomErrorsSection)Sections ["customErrors"]; }
76                 }
77
78                 [ConfigurationProperty ("deployment")]
79                 public DeploymentSection Deployment {
80                         get { return (DeploymentSection)Sections ["deployment"]; }
81                 }
82
83                 [ConfigurationProperty ("deviceFilters")]
84                 public DefaultSection DeviceFilters {
85                         get { return (DefaultSection)Sections ["deviceFilters"]; }
86                 }
87
88                 [ConfigurationProperty ("globalization")]
89                 public GlobalizationSection Globalization {
90                         get { return (GlobalizationSection)Sections ["globalization"]; }
91                 }
92
93                 [ConfigurationProperty ("healthMonitoring")]
94                 public HealthMonitoringSection HealthMonitoring {
95                         get { return (HealthMonitoringSection)Sections ["healthMonitoring"]; }
96                 }
97
98                 [ConfigurationProperty ("hostingEnvironment")]
99                 public HostingEnvironmentSection HostingEnvironment {
100                         get { return (HostingEnvironmentSection)Sections ["hostingEnvironment"]; }
101                 }
102
103                 [ConfigurationProperty ("httpCookies")]
104                 public HttpCookiesSection HttpCookies {
105                         get { return (HttpCookiesSection)Sections ["httpCookies"]; }
106                 }
107
108                 [ConfigurationProperty ("httpHandlers")]
109                 public HttpHandlersSection HttpHandlers {
110                         get { return (HttpHandlersSection)Sections ["httpHandlers"]; }
111                 }
112
113                 [ConfigurationProperty ("httpModules")]
114                 public HttpModulesSection HttpModules {
115                         get { return (HttpModulesSection)Sections ["httpModules"]; }
116                 }
117
118                 [ConfigurationProperty ("httpRuntime")]
119                 public HttpRuntimeSection HttpRuntime {
120                         get { return (HttpRuntimeSection)Sections ["httpRuntime"]; }
121                 }
122
123                 [ConfigurationProperty ("identity")]
124                 public IdentitySection Identity {
125                         get { return (IdentitySection)Sections ["identity"]; }
126                 }
127
128                 [ConfigurationProperty ("machineKey")]
129                 public MachineKeySection MachineKey {
130                         get { return (MachineKeySection)Sections ["machineKey"]; }
131                 }
132
133                 [ConfigurationProperty ("membership")]
134                 public MembershipSection Membership {
135                         get { return (MembershipSection)Sections ["membership"]; }
136                 }
137
138                 [ConfigurationProperty ("mobileControls")]
139 #if NET_4_0
140                 [Obsolete ("System.Web.Mobile.dll is obsolete.")]
141 #endif
142                 public ConfigurationSection MobileControls {
143                         get { return Sections ["MobileControls"]; }
144                 }
145
146                 [ConfigurationProperty ("pages")]
147                 public PagesSection Pages {
148                         get { return (PagesSection)Sections ["pages"]; }
149                 }
150
151                 [ConfigurationProperty ("processModel")]
152                 public ProcessModelSection ProcessModel {
153                         get { return (ProcessModelSection)Sections ["processModel"]; }
154                 }
155
156                 [ConfigurationProperty ("profile")]
157                 public ProfileSection Profile {
158                         get { return (ProfileSection)Sections ["profile"]; }
159                 }
160
161                 [ConfigurationProperty ("protocols")]
162                 public DefaultSection Protocols {
163                         get { return (DefaultSection)Sections ["protocols"]; }
164                 }
165
166                 [ConfigurationProperty ("roleManager")]
167                 public RoleManagerSection RoleManager {
168                         get { return (RoleManagerSection)Sections ["roleManager"]; }
169                 }
170
171                 [ConfigurationProperty ("securityPolicy")]
172                 public SecurityPolicySection SecurityPolicy {
173                         get { return (SecurityPolicySection)Sections ["securityPolicy"]; }
174                 }
175
176                 [ConfigurationProperty ("sessionState")]
177                 public SessionStateSection SessionState {
178                         get { return (SessionStateSection)Sections ["sessionState"]; }
179                 }
180
181                 [ConfigurationProperty ("siteMap")]
182                 public SiteMapSection SiteMap {
183                         get { return (SiteMapSection)Sections ["siteMap"]; }
184                 }
185
186                 [ConfigurationProperty ("trace")]
187                 public TraceSection Trace {
188                         get { return (TraceSection)Sections ["trace"]; }
189                 }
190
191                 [ConfigurationProperty ("trust")]
192                 public TrustSection Trust {
193                         get { return (TrustSection)Sections ["trust"]; }
194                 }
195
196                 [ConfigurationProperty ("urlMappings")]
197                 public UrlMappingsSection UrlMappings {
198                         get { return (UrlMappingsSection)Sections ["urlMappings"]; }
199                 }
200
201                 [ConfigurationProperty ("webControls")]
202                 public WebControlsSection WebControls {
203                         get { return (WebControlsSection)Sections ["webControls"]; }
204                 }
205
206                 [ConfigurationProperty ("webParts")]
207                 public WebPartsSection WebParts {
208                         get { return (WebPartsSection)Sections ["webParts"]; }
209                 }
210
211 #if WEBSERVICES_DEP
212                 [ConfigurationProperty ("webServices")]
213                 public WebServicesSection WebServices {
214                         get { return (WebServicesSection)Sections ["webServices"]; }
215                 }
216 #endif
217
218                 [ConfigurationProperty ("xhtmlConformance")]
219                 public XhtmlConformanceSection XhtmlConformance {
220                         get { return (XhtmlConformanceSection)Sections ["xhtmlConformance"]; }
221                 }
222         }
223 }
224
225 #endif