SystemWebSectionGroup.cs 6.7 KB

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