* PagesConfigurationHandler.cs: Use enum for EnableSessionState.
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / SystemWebSectionGroup.cs
index 45f7095af99522b1cddf3525cd1ae3b6347de2c3..a076c4e1c69f0c0a3b7ede5f3bf0a1bcaf49091e 100644 (file)
@@ -32,6 +32,9 @@
 
 using System;
 using System.Configuration;
+#if WEBSERVICES_DEP
+using System.Web.Services.Configuration;
+#endif
 
 namespace System.Web.Configuration
 {
@@ -47,80 +50,62 @@ namespace System.Web.Configuration
                        get { return (AuthenticationSection)Sections ["authentication"]; }
                }
 
-#if notyet
                [ConfigurationProperty ("authorization")]
                public AuthorizationSection Authorization {
                        get { return (AuthorizationSection)Sections ["authorization"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("browserCaps")]
                public DefaultSection BrowserCaps {
                        get { return (DefaultSection)Sections ["browserCaps"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("clientTarget")]
                public ClientTargetSection ClientTarget {
                        get { return (ClientTargetSection)Sections ["clientTarget"]; }
                }
-#endif
 
+#if !TARGET_JVM
                [ConfigurationProperty ("compilation")]
                public CompilationSection Compilation {
                        get { return (CompilationSection)Sections ["compilation"]; }
                }
+#endif
 
-#if notyet
                [ConfigurationProperty ("customErrors")]
                public CustomErrorsSection CustomErrors {
                        get { return (CustomErrorsSection)Sections ["customErrors"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("deployment")]
                public DeploymentSection Deployment {
                        get { return (DeploymentSection)Sections ["deployment"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("deviceFilters")]
                public DefaultSection DeviceFilters {
                        get { return (DefaultSection)Sections ["deviceFilters"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("globalization")]
                public GlobalizationSection Globalization {
                        get { return (GlobalizationSection)Sections ["globalization"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("healthMonitoring")]
                public HealthMonitoringSection HealthMonitoring {
                        get { return (HealthMonitoringSection)Sections ["healthMonitoring"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("hostingEnvironment")]
                public HostingEnvironmentSection HostingEnvironment {
-                       get { return (HostingEnvironment)Sections ["hostingEnvironment"]; }
+                       get { return (HostingEnvironmentSection)Sections ["hostingEnvironment"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("httpCookies")]
                public HttpCookiesSection HttpCookies {
                        get { return (HttpCookiesSection)Sections ["httpCookies"]; }
                }
-#endif
 
                [ConfigurationProperty ("httpHandlers")]
                public HttpHandlersSection HttpHandlers {
@@ -132,26 +117,20 @@ namespace System.Web.Configuration
                        get { return (HttpModulesSection)Sections ["httpModules"]; }
                }
 
-#if notyet
                [ConfigurationProperty ("httpRuntime")]
                public HttpRuntimeSection HttpRuntime {
                        get { return (HttpRuntimeSection)Sections ["httpRuntime"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("identity")]
                public IdentitySection Identity {
                        get { return (IdentitySection)Sections ["identity"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("machineKey")]
                public MachineKeySection MachineKey {
                        get { return (MachineKeySection)Sections ["machineKey"]; }
                }
-#endif
 
                [ConfigurationProperty ("membership")]
                public MembershipSection Membership {
@@ -168,98 +147,77 @@ namespace System.Web.Configuration
                        get { return (PagesSection)Sections ["pages"]; }
                }
 
-#if notyet
+               [ConfigurationProperty ("processModel")]
                public ProcessModelSection ProcessModel {
                        get { return (ProcessModelSection)Sections ["processModel"]; }
                }
-#endif
 
                [ConfigurationProperty ("profile")]
                public ProfileSection Profile {
                        get { return (ProfileSection)Sections ["profile"]; }
                }
 
-#if notyet
                [ConfigurationProperty ("protocols")]
                public DefaultSection Protocols {
                        get { return (DefaultSection)Sections ["protocols"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("roleManager")]
                public RoleManagerSection RoleManager {
                        get { return (RoleManagerSection)Sections ["roleManager"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("securityPolicy")]
                public SecurityPolicySection SecurityPolicy {
                        get { return (SecurityPolicySection)Sections ["securityPolicy"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("sessionState")]
                public SessionStateSection SessionState {
                        get { return (SessionStateSection)Sections ["sessionState"]; }
                }
-#endif
 
                [ConfigurationProperty ("siteMap")]
                public SiteMapSection SiteMap {
                        get { return (SiteMapSection)Sections ["siteMap"]; }
                }
 
-#if notyet
                [ConfigurationProperty ("trace")]
                public TraceSection Trace {
                        get { return (TraceSection)Sections ["trace"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("trust")]
                public TrustSection Trust {
                        get { return (TrustSection)Sections ["trust"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("urlMappings")]
                public UrlMappingsSection UrlMappings {
                        get { return (UrlMappingsSection)Sections ["urlMappings"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("webControls")]
                public WebControlsSection WebControls {
                        get { return (WebControlsSection)Sections ["webControls"]; }
                }
-#endif
 
-#if notyet
                [ConfigurationProperty ("webParts")]
                public WebPartsSection WebParts {
                        get { return (WebPartsSection)Sections ["webParts"]; }
                }
-#endif
 
-#if notyet
+#if WEBSERVICES_DEP
                [ConfigurationProperty ("webServices")]
                public WebServicesSection WebServices {
                        get { return (WebServicesSection)Sections ["webServices"]; }
                }
 #endif
 
-#if notyet
                [ConfigurationProperty ("xhtmlConformance")]
                public XhtmlConformanceSection XhtmlConformance {
                        get { return (XhtmlConformanceSection)Sections ["xhtmlConformance"]; }
                }
-#endif
        }
 }