SystemWebSectionGroup.cs 5.9 KB

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