SystemWebSectionGroup.cs 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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. [ConfigurationProperty ("hostingEnvironment")]
  81. public HostingEnvironmentSection HostingEnvironment {
  82. get { return (HostingEnvironmentSection)Sections ["hostingEnvironment"]; }
  83. }
  84. [ConfigurationProperty ("httpCookies")]
  85. public HttpCookiesSection HttpCookies {
  86. get { return (HttpCookiesSection)Sections ["httpCookies"]; }
  87. }
  88. [ConfigurationProperty ("httpHandlers")]
  89. public HttpHandlersSection HttpHandlers {
  90. get { return (HttpHandlersSection)Sections ["httpHandlers"]; }
  91. }
  92. [ConfigurationProperty ("httpModules")]
  93. public HttpModulesSection HttpModules {
  94. get { return (HttpModulesSection)Sections ["httpModules"]; }
  95. }
  96. [ConfigurationProperty ("httpRuntime")]
  97. public HttpRuntimeSection HttpRuntime {
  98. get { return (HttpRuntimeSection)Sections ["httpRuntime"]; }
  99. }
  100. [ConfigurationProperty ("identity")]
  101. public IdentitySection Identity {
  102. get { return (IdentitySection)Sections ["identity"]; }
  103. }
  104. [ConfigurationProperty ("machineKey")]
  105. public MachineKeySection MachineKey {
  106. get { return (MachineKeySection)Sections ["machineKey"]; }
  107. }
  108. [ConfigurationProperty ("membership")]
  109. public MembershipSection Membership {
  110. get { return (MembershipSection)Sections ["membership"]; }
  111. }
  112. [ConfigurationProperty ("mobileControls")]
  113. public ConfigurationSection MobileControls {
  114. get { return Sections ["MobileControls"]; }
  115. }
  116. [ConfigurationProperty ("pages")]
  117. public PagesSection Pages {
  118. get { return (PagesSection)Sections ["pages"]; }
  119. }
  120. [ConfigurationProperty ("processModel")]
  121. public ProcessModelSection ProcessModel {
  122. get { return (ProcessModelSection)Sections ["processModel"]; }
  123. }
  124. [ConfigurationProperty ("profile")]
  125. public ProfileSection Profile {
  126. get { return (ProfileSection)Sections ["profile"]; }
  127. }
  128. [ConfigurationProperty ("protocols")]
  129. public DefaultSection Protocols {
  130. get { return (DefaultSection)Sections ["protocols"]; }
  131. }
  132. [ConfigurationProperty ("roleManager")]
  133. public RoleManagerSection RoleManager {
  134. get { return (RoleManagerSection)Sections ["roleManager"]; }
  135. }
  136. [ConfigurationProperty ("securityPolicy")]
  137. public SecurityPolicySection SecurityPolicy {
  138. get { return (SecurityPolicySection)Sections ["securityPolicy"]; }
  139. }
  140. [ConfigurationProperty ("sessionState")]
  141. public SessionStateSection SessionState {
  142. get { return (SessionStateSection)Sections ["sessionState"]; }
  143. }
  144. [ConfigurationProperty ("siteMap")]
  145. public SiteMapSection SiteMap {
  146. get { return (SiteMapSection)Sections ["siteMap"]; }
  147. }
  148. [ConfigurationProperty ("trace")]
  149. public TraceSection Trace {
  150. get { return (TraceSection)Sections ["trace"]; }
  151. }
  152. [ConfigurationProperty ("trust")]
  153. public TrustSection Trust {
  154. get { return (TrustSection)Sections ["trust"]; }
  155. }
  156. [ConfigurationProperty ("urlMappings")]
  157. public UrlMappingsSection UrlMappings {
  158. get { return (UrlMappingsSection)Sections ["urlMappings"]; }
  159. }
  160. [ConfigurationProperty ("webControls")]
  161. public WebControlsSection WebControls {
  162. get { return (WebControlsSection)Sections ["webControls"]; }
  163. }
  164. [ConfigurationProperty ("webParts")]
  165. public WebPartsSection WebParts {
  166. get { return (WebPartsSection)Sections ["webParts"]; }
  167. }
  168. #if notyet
  169. [ConfigurationProperty ("webServices")]
  170. public WebServicesSection WebServices {
  171. get { return (WebServicesSection)Sections ["webServices"]; }
  172. }
  173. #endif
  174. [ConfigurationProperty ("xhtmlConformance")]
  175. public XhtmlConformanceSection XhtmlConformance {
  176. get { return (XhtmlConformanceSection)Sections ["xhtmlConformance"]; }
  177. }
  178. }
  179. }
  180. #endif