SystemWebSectionGroup.cs 7.0 KB

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