SystemWebSectionGroup.cs 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. //
  2. // System.Web.Configuration.SystemWebSectionGroup
  3. //
  4. // Authors:
  5. // Chris Toshok ([email protected])
  6. //
  7. // (C) 2005 Novell, Inc (http://www.novell.com)
  8. //
  9. //
  10. // Permission is hereby granted, free of charge, to any person obtaining
  11. // a copy of this software and associated documentation files (the
  12. // "Software"), to deal in the Software without restriction, including
  13. // without limitation the rights to use, copy, modify, merge, publish,
  14. // distribute, sublicense, and/or sell copies of the Software, and to
  15. // permit persons to whom the Software is furnished to do so, subject to
  16. // the following conditions:
  17. //
  18. // The above copyright notice and this permission notice shall be
  19. // included in all copies or substantial portions of the Software.
  20. //
  21. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  22. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  23. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  24. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  25. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  26. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  27. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  28. //
  29. #if NET_2_0
  30. using System;
  31. using System.Configuration;
  32. namespace System.Web.Configuration
  33. {
  34. public sealed class SystemWebSectionGroup : ConfigurationSectionGroup
  35. {
  36. [ConfigurationProperty ("anonymousIdentification")]
  37. public AnonymousIdentificationSection AnonymousIdentification {
  38. get { return (AnonymousIdentificationSection)Sections ["anonymousIdentification"]; }
  39. }
  40. [ConfigurationProperty ("authentication")]
  41. public AuthenticationSection Authentication {
  42. get { return (AuthenticationSection)Sections ["authentication"]; }
  43. }
  44. [ConfigurationProperty ("authorization")]
  45. public AuthorizationSection Authorization {
  46. get { return (AuthorizationSection)Sections ["authorization"]; }
  47. }
  48. [ConfigurationProperty ("browserCaps")]
  49. public DefaultSection BrowserCaps {
  50. get { return (DefaultSection)Sections ["browserCaps"]; }
  51. }
  52. [ConfigurationProperty ("clientTarget")]
  53. public ClientTargetSection ClientTarget {
  54. get { return (ClientTargetSection)Sections ["clientTarget"]; }
  55. }
  56. [ConfigurationProperty ("compilation")]
  57. public CompilationSection Compilation {
  58. get { return (CompilationSection)Sections ["compilation"]; }
  59. }
  60. [ConfigurationProperty ("customErrors")]
  61. public CustomErrorsSection CustomErrors {
  62. get { return (CustomErrorsSection)Sections ["customErrors"]; }
  63. }
  64. [ConfigurationProperty ("deployment")]
  65. public DeploymentSection Deployment {
  66. get { return (DeploymentSection)Sections ["deployment"]; }
  67. }
  68. [ConfigurationProperty ("deviceFilters")]
  69. public DefaultSection DeviceFilters {
  70. get { return (DefaultSection)Sections ["deviceFilters"]; }
  71. }
  72. [ConfigurationProperty ("globalization")]
  73. public GlobalizationSection Globalization {
  74. get { return (GlobalizationSection)Sections ["globalization"]; }
  75. }
  76. [ConfigurationProperty ("healthMonitoring")]
  77. public HealthMonitoringSection HealthMonitoring {
  78. get { return (HealthMonitoringSection)Sections ["healthMonitoring"]; }
  79. }
  80. #if notyet
  81. [ConfigurationProperty ("hostingEnvironment")]
  82. public HostingEnvironmentSection HostingEnvironment {
  83. get { return (HostingEnvironmentSection)Sections ["hostingEnvironment"]; }
  84. }
  85. #endif
  86. [ConfigurationProperty ("httpCookies")]
  87. public HttpCookiesSection HttpCookies {
  88. get { return (HttpCookiesSection)Sections ["httpCookies"]; }
  89. }
  90. [ConfigurationProperty ("httpHandlers")]
  91. public HttpHandlersSection HttpHandlers {
  92. get { return (HttpHandlersSection)Sections ["httpHandlers"]; }
  93. }
  94. [ConfigurationProperty ("httpModules")]
  95. public HttpModulesSection HttpModules {
  96. get { return (HttpModulesSection)Sections ["httpModules"]; }
  97. }
  98. [ConfigurationProperty ("httpRuntime")]
  99. public HttpRuntimeSection HttpRuntime {
  100. get { return (HttpRuntimeSection)Sections ["httpRuntime"]; }
  101. }
  102. [ConfigurationProperty ("identity")]
  103. public IdentitySection Identity {
  104. get { return (IdentitySection)Sections ["identity"]; }
  105. }
  106. [ConfigurationProperty ("machineKey")]
  107. public MachineKeySection MachineKey {
  108. get { return (MachineKeySection)Sections ["machineKey"]; }
  109. }
  110. [ConfigurationProperty ("membership")]
  111. public MembershipSection Membership {
  112. get { return (MembershipSection)Sections ["membership"]; }
  113. }
  114. [ConfigurationProperty ("mobileControls")]
  115. public ConfigurationSection MobileControls {
  116. get { return Sections ["MobileControls"]; }
  117. }
  118. [ConfigurationProperty ("pages")]
  119. public PagesSection Pages {
  120. get { return (PagesSection)Sections ["pages"]; }
  121. }
  122. public ProcessModelSection ProcessModel {
  123. get { return (ProcessModelSection)Sections ["processModel"]; }
  124. }
  125. [ConfigurationProperty ("profile")]
  126. public ProfileSection Profile {
  127. get { return (ProfileSection)Sections ["profile"]; }
  128. }
  129. [ConfigurationProperty ("protocols")]
  130. public DefaultSection Protocols {
  131. get { return (DefaultSection)Sections ["protocols"]; }
  132. }
  133. [ConfigurationProperty ("roleManager")]
  134. public RoleManagerSection RoleManager {
  135. get { return (RoleManagerSection)Sections ["roleManager"]; }
  136. }
  137. [ConfigurationProperty ("securityPolicy")]
  138. public SecurityPolicySection SecurityPolicy {
  139. get { return (SecurityPolicySection)Sections ["securityPolicy"]; }
  140. }
  141. [ConfigurationProperty ("sessionState")]
  142. public SessionStateSection SessionState {
  143. get { return (SessionStateSection)Sections ["sessionState"]; }
  144. }
  145. [ConfigurationProperty ("siteMap")]
  146. public SiteMapSection SiteMap {
  147. get { return (SiteMapSection)Sections ["siteMap"]; }
  148. }
  149. [ConfigurationProperty ("trace")]
  150. public TraceSection Trace {
  151. get { return (TraceSection)Sections ["trace"]; }
  152. }
  153. [ConfigurationProperty ("trust")]
  154. public TrustSection Trust {
  155. get { return (TrustSection)Sections ["trust"]; }
  156. }
  157. [ConfigurationProperty ("urlMappings")]
  158. public UrlMappingsSection UrlMappings {
  159. get { return (UrlMappingsSection)Sections ["urlMappings"]; }
  160. }
  161. [ConfigurationProperty ("webControls")]
  162. public WebControlsSection WebControls {
  163. get { return (WebControlsSection)Sections ["webControls"]; }
  164. }
  165. [ConfigurationProperty ("webParts")]
  166. public WebPartsSection WebParts {
  167. get { return (WebPartsSection)Sections ["webParts"]; }
  168. }
  169. #if notyet
  170. [ConfigurationProperty ("webServices")]
  171. public WebServicesSection WebServices {
  172. get { return (WebServicesSection)Sections ["webServices"]; }
  173. }
  174. #endif
  175. [ConfigurationProperty ("xhtmlConformance")]
  176. public XhtmlConformanceSection XhtmlConformance {
  177. get { return (XhtmlConformanceSection)Sections ["xhtmlConformance"]; }
  178. }
  179. }
  180. }
  181. #endif