Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / SystemWebSectionGroup.cs / 1305376 / SystemWebSectionGroup.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Configuration; using System.Security.Permissions; 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("fullTrustAssemblies")] public FullTrustAssembliesSection FullTrustAssemblies { get { return (FullTrustAssembliesSection)Sections["fullTrustAssemblies"]; } } [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")] [Obsolete("System.Web.Mobile.dll is obsolete.")] public ConfigurationSection MobileControls { get { return (ConfigurationSection) Sections["mobileControls"]; } } [ConfigurationProperty("pages")] public PagesSection Pages { get { return (PagesSection) Sections["pages"]; } } [ConfigurationProperty("partialTrustVisibleAssemblies")] public PartialTrustVisibleAssembliesSection PartialTrustVisibleAssemblies { get { return (PartialTrustVisibleAssembliesSection)Sections["partialTrustVisibleAssemblies"]; } } [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"]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Configuration; using System.Security.Permissions; 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("fullTrustAssemblies")] public FullTrustAssembliesSection FullTrustAssemblies { get { return (FullTrustAssembliesSection)Sections["fullTrustAssemblies"]; } } [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")] [Obsolete("System.Web.Mobile.dll is obsolete.")] public ConfigurationSection MobileControls { get { return (ConfigurationSection) Sections["mobileControls"]; } } [ConfigurationProperty("pages")] public PagesSection Pages { get { return (PagesSection) Sections["pages"]; } } [ConfigurationProperty("partialTrustVisibleAssemblies")] public PartialTrustVisibleAssembliesSection PartialTrustVisibleAssemblies { get { return (PartialTrustVisibleAssembliesSection)Sections["partialTrustVisibleAssemblies"]; } } [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"]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WorkflowLayouts.cs
- MatrixTransform3D.cs
- HtmlInputFile.cs
- ConnectionManagementElement.cs
- MarshalByRefObject.cs
- ErrorWrapper.cs
- BookmarkScopeHandle.cs
- HttpContextServiceHost.cs
- UInt32Converter.cs
- cookie.cs
- EdmComplexPropertyAttribute.cs
- EmptyElement.cs
- MdiWindowListStrip.cs
- PropertyInformationCollection.cs
- EmptyQuery.cs
- OrderedDictionary.cs
- ListDataHelper.cs
- MetafileHeaderWmf.cs
- DataSourceConverter.cs
- XslAst.cs
- CalendarDay.cs
- WebControlAdapter.cs
- CurrencyManager.cs
- SecurityPermission.cs
- PerformanceCounterPermissionEntry.cs
- X509ChainElement.cs
- Button.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- WebPartDescriptionCollection.cs
- OrderByQueryOptionExpression.cs
- VariableQuery.cs
- RowUpdatingEventArgs.cs
- TextBoxRenderer.cs
- tibetanshape.cs
- MiniParameterInfo.cs
- SHA512Managed.cs
- HttpResponseHeader.cs
- XmlSchemaSimpleTypeUnion.cs
- Comparer.cs
- LayoutInformation.cs
- ZoneButton.cs
- RenderDataDrawingContext.cs
- FamilyTypefaceCollection.cs
- ExpressionTextBox.xaml.cs
- PropertyInformation.cs
- DynamicUpdateCommand.cs
- ConstraintCollection.cs
- SamlSecurityToken.cs
- ColumnClickEvent.cs
- HttpListenerPrefixCollection.cs
- TiffBitmapDecoder.cs
- DesignerActionVerbItem.cs
- AddInContractAttribute.cs
- Variant.cs
- MeshGeometry3D.cs
- PropertyStore.cs
- GlyphRunDrawing.cs
- DataGridViewImageCell.cs
- ImageList.cs
- SchemaCollectionPreprocessor.cs
- SecurityUtils.cs
- TextChange.cs
- ReplyChannel.cs
- PagedDataSource.cs
- ApplicationBuildProvider.cs
- DataGridCheckBoxColumn.cs
- MsdtcWrapper.cs
- SendKeys.cs
- WebPartVerbCollection.cs
- StyleTypedPropertyAttribute.cs
- RegularExpressionValidator.cs
- XLinq.cs
- ReliableChannelListener.cs
- InvalidateEvent.cs
- Itemizer.cs
- ParallelRangeManager.cs
- CheckBoxAutomationPeer.cs
- oledbmetadatacolumnnames.cs
- DynamicMethod.cs
- AssemblyHash.cs
- ConstraintCollection.cs
- HtmlShimManager.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- PolyLineSegment.cs
- BindingOperations.cs
- KeyEvent.cs
- Rectangle.cs
- DesignOnlyAttribute.cs
- HttpProfileBase.cs
- ParserExtension.cs
- ChangeConflicts.cs
- Win32Native.cs
- SafeSystemMetrics.cs
- LinqDataSource.cs
- RightsManagementPermission.cs
- AggregateNode.cs
- CompoundFileReference.cs
- PersonalizableTypeEntry.cs
- NamespaceTable.cs
- GridViewUpdatedEventArgs.cs