Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Configuration / SystemWebSectionGroup.cs / 4 / SystemWebSectionGroup.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Configuration; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class SystemWebSectionGroup : ConfigurationSectionGroup { public SystemWebSectionGroup() { } // public properties [ConfigurationProperty("anonymousIdentification")] public AnonymousIdentificationSection AnonymousIdentification { get { return (AnonymousIdentificationSection) Sections["anonymousIdentification"]; } } [ConfigurationProperty("authentication")] public AuthenticationSection Authentication { get { return (AuthenticationSection) Sections["authentication"]; } } [ConfigurationProperty("authorization")] public AuthorizationSection Authorization { get { return (AuthorizationSection) Sections["authorization"]; } } [ConfigurationProperty("browserCaps")] public DefaultSection BrowserCaps { get { return (DefaultSection) Sections["browserCaps"]; } } [ConfigurationProperty("clientTarget")] public ClientTargetSection ClientTarget { get { return (ClientTargetSection) Sections["clientTarget"]; } } [ConfigurationProperty("compilation")] public CompilationSection Compilation { get { return (CompilationSection) Sections["compilation"]; } } [ConfigurationProperty("customErrors")] public CustomErrorsSection CustomErrors { get { return (CustomErrorsSection) Sections["customErrors"]; } } [ConfigurationProperty("deployment")] public DeploymentSection Deployment { get { return (DeploymentSection) Sections["deployment"]; } } [ConfigurationProperty("deviceFilters")] public DefaultSection DeviceFilters { get { return (DefaultSection) Sections["deviceFilters"]; } } [ConfigurationProperty("globalization")] public GlobalizationSection Globalization { get { return (GlobalizationSection) Sections["globalization"]; } } [ConfigurationProperty("healthMonitoring")] public HealthMonitoringSection HealthMonitoring { get { return (HealthMonitoringSection) Sections["healthMonitoring"]; } } [ConfigurationProperty("hostingEnvironment")] public HostingEnvironmentSection HostingEnvironment { get { return (HostingEnvironmentSection) Sections["hostingEnvironment"]; } } [ConfigurationProperty("httpCookies")] public HttpCookiesSection HttpCookies { get { return (HttpCookiesSection) Sections["httpCookies"]; } } [ConfigurationProperty("httpHandlers")] public HttpHandlersSection HttpHandlers { get { return (HttpHandlersSection) Sections["httpHandlers"]; } } [ConfigurationProperty("httpModules")] public HttpModulesSection HttpModules { get { return (HttpModulesSection) Sections["httpModules"]; } } [ConfigurationProperty("httpRuntime")] public HttpRuntimeSection HttpRuntime { get { return (HttpRuntimeSection) Sections["httpRuntime"]; } } [ConfigurationProperty("identity")] public IdentitySection Identity { get { return (IdentitySection) Sections["identity"]; } } [ConfigurationProperty("machineKey")] public MachineKeySection MachineKey { get { return (MachineKeySection) Sections["machineKey"]; } } [ConfigurationProperty("membership")] public MembershipSection Membership { get { return (MembershipSection) Sections["membership"]; } } // Note that the return type is ConfigurationSection, not MobileControlsSection. // The reason is that we don't want to link to System.Web.UI.MobileControls just // to return the correct type of this property. [ConfigurationProperty("mobileControls")] public ConfigurationSection MobileControls { get { return (ConfigurationSection) Sections["mobileControls"]; } } [ConfigurationProperty("pages")] public PagesSection Pages { get { return (PagesSection) Sections["pages"]; } } [ConfigurationProperty("processModel")] public ProcessModelSection ProcessModel { get { return (ProcessModelSection) Sections["processModel"]; } } [ConfigurationProperty("profile")] public ProfileSection Profile { get { return (ProfileSection)Sections["profile"]; } } [ConfigurationProperty("protocols")] public DefaultSection Protocols { get { return (DefaultSection)Sections["protocols"]; } } [ConfigurationProperty("roleManager")] public RoleManagerSection RoleManager { get { return (RoleManagerSection) Sections["roleManager"]; } } [ConfigurationProperty("securityPolicy")] public SecurityPolicySection SecurityPolicy { get { return (SecurityPolicySection) Sections["securityPolicy"]; } } [ConfigurationProperty("sessionState")] public SessionStateSection SessionState { get { return (SessionStateSection) Sections["sessionState"]; } } [ConfigurationProperty("siteMap")] public SiteMapSection SiteMap { get { return (SiteMapSection) Sections["siteMap"]; } } [ConfigurationProperty("trace")] public TraceSection Trace { get { return (TraceSection) Sections["trace"]; } } [ConfigurationProperty("trust")] public TrustSection Trust { get { return (TrustSection) Sections["trust"]; } } [ConfigurationProperty("urlMappings")] public UrlMappingsSection UrlMappings { get { return (UrlMappingsSection) Sections["urlMappings"]; } } [ConfigurationProperty("webControls")] public WebControlsSection WebControls { get { return (WebControlsSection) Sections["webControls"]; } } [ConfigurationProperty("webParts")] public WebPartsSection WebParts { get { return (WebPartsSection) Sections["WebParts"]; } } [ConfigurationProperty("webServices")] public System.Web.Services.Configuration.WebServicesSection WebServices { get { return (System.Web.Services.Configuration.WebServicesSection) Sections["webServices"]; } } [ConfigurationProperty("xhtmlConformance")] public XhtmlConformanceSection XhtmlConformance { get { return (XhtmlConformanceSection) Sections["xhtmlConformance"]; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntityDataSourceView.cs
- DWriteFactory.cs
- Internal.cs
- TypeSystem.cs
- MailHeaderInfo.cs
- MarkupCompilePass2.cs
- SQLInt32Storage.cs
- MemoryMappedFile.cs
- TextAutomationPeer.cs
- ClientSettings.cs
- SelectionWordBreaker.cs
- ClientFormsIdentity.cs
- TextTreeUndo.cs
- RectConverter.cs
- WebPartZoneCollection.cs
- shaper.cs
- DataSourceNameHandler.cs
- ItemCollection.cs
- OleDbParameter.cs
- RegexInterpreter.cs
- ProfilePropertySettingsCollection.cs
- BitmapMetadataEnumerator.cs
- TextTreeUndo.cs
- HtmlInputFile.cs
- Pkcs7Signer.cs
- ListViewSelectEventArgs.cs
- SqlClientFactory.cs
- Utilities.cs
- QuestionEventArgs.cs
- SizeAnimationBase.cs
- MarkupExtensionParser.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- XmlBinaryReaderSession.cs
- PrintPreviewDialog.cs
- FrameDimension.cs
- RuntimeConfig.cs
- wpf-etw.cs
- OdbcFactory.cs
- ListViewGroup.cs
- DocumentPageHost.cs
- TextProperties.cs
- ConfigurationPermission.cs
- CodeDomSerializationProvider.cs
- UIPropertyMetadata.cs
- Panel.cs
- Part.cs
- DataRowView.cs
- XmlCountingReader.cs
- HttpServerVarsCollection.cs
- TextRunCache.cs
- CharAnimationUsingKeyFrames.cs
- Listen.cs
- HttpsChannelFactory.cs
- HttpPostProtocolImporter.cs
- DynamicRenderer.cs
- SchemaImporter.cs
- WebConfigurationHost.cs
- CodeDelegateInvokeExpression.cs
- PermissionAttributes.cs
- Rotation3DKeyFrameCollection.cs
- ArgumentException.cs
- XmlCharType.cs
- PngBitmapEncoder.cs
- ColumnCollection.cs
- Matrix3D.cs
- WebServiceParameterData.cs
- MethodAccessException.cs
- ColumnHeader.cs
- NameValueConfigurationCollection.cs
- NetCodeGroup.cs
- CreateParams.cs
- SqlBuilder.cs
- DataGridViewColumnTypeEditor.cs
- LocalizationCodeDomSerializer.cs
- AutomationProperties.cs
- CodeVariableDeclarationStatement.cs
- DataGridViewRowEventArgs.cs
- ListView.cs
- EdmType.cs
- SystemColors.cs
- ObjectStateFormatter.cs
- ObjectDataSourceFilteringEventArgs.cs
- LambdaExpression.cs
- DynamicILGenerator.cs
- MyContact.cs
- HttpRawResponse.cs
- SslStreamSecurityElement.cs
- StreamResourceInfo.cs
- OleDbFactory.cs
- EntryWrittenEventArgs.cs
- ProfileModule.cs
- TreeView.cs
- Pair.cs
- InvalidEnumArgumentException.cs
- basevalidator.cs
- PtsContext.cs
- ComNativeDescriptor.cs
- ReverseInheritProperty.cs
- ModelTreeEnumerator.cs
- _PooledStream.cs