Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / HttpModulesSection.cs / 1305376 / HttpModulesSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Xml; using System.Configuration; using System.Collections.Specialized; using System.Collections; using System.IO; using System.Text; using System.Web.Configuration; using System.Globalization; using System.Web.Security; using System.Security.Permissions; public sealed class HttpModulesSection : ConfigurationSection { private static ConfigurationPropertyCollection _properties; private static readonly ConfigurationProperty _propHttpModules = new ConfigurationProperty(null, typeof(HttpModuleActionCollection), null, ConfigurationPropertyOptions.IsDefaultCollection); static HttpModulesSection() { // Property initialization _properties = new ConfigurationPropertyCollection(); _properties.Add(_propHttpModules); } public HttpModulesSection() { } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("", IsDefaultCollection = true)] public HttpModuleActionCollection Modules { get { return (HttpModuleActionCollection)base[_propHttpModules]; } } internal HttpModuleCollection CreateModules() { HttpModuleCollection modules = new HttpModuleCollection(); foreach (HttpModuleAction module in Modules) { modules.AddModule(module.Entry.ModuleName, module.Entry.Create()); } modules.AddModule("DefaultAuthentication", DefaultAuthenticationModule.CreateDefaultAuthenticationModuleWithAssert()); return modules; } } } // 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
- InheritanceRules.cs
- DefaultObjectMappingItemCollection.cs
- XslCompiledTransform.cs
- Merger.cs
- ConfigXmlAttribute.cs
- SerializationSectionGroup.cs
- SetIndexBinder.cs
- EntityConnectionStringBuilderItem.cs
- StrongNameUtility.cs
- EventLogPermissionEntryCollection.cs
- DispatchWrapper.cs
- XmlSerializerAssemblyAttribute.cs
- BinaryUtilClasses.cs
- ConnectionManagementElement.cs
- XAMLParseException.cs
- LinkButton.cs
- returneventsaver.cs
- RSACryptoServiceProvider.cs
- StdRegProviderWrapper.cs
- SystemUnicastIPAddressInformation.cs
- MonthChangedEventArgs.cs
- ContentPresenter.cs
- RenderingEventArgs.cs
- DeviceContext.cs
- FlowDocumentView.cs
- DesignerAdRotatorAdapter.cs
- Splitter.cs
- SQLRoleProvider.cs
- TrackingRecord.cs
- PropertyPathWorker.cs
- HttpListenerRequestTraceRecord.cs
- UInt16Storage.cs
- ImageAttributes.cs
- XmlSerializerFactory.cs
- SapiGrammar.cs
- RecordManager.cs
- ArrayElementGridEntry.cs
- SignedInfo.cs
- LockRecursionException.cs
- TextEditorContextMenu.cs
- ScrollChrome.cs
- DockingAttribute.cs
- ReadOnlyDataSourceView.cs
- NamespaceEmitter.cs
- RemotingConfiguration.cs
- SystemBrushes.cs
- FixedElement.cs
- ProfileBuildProvider.cs
- AssemblyNameEqualityComparer.cs
- SelectionEditor.cs
- UriWriter.cs
- ProvidersHelper.cs
- LinkArea.cs
- WinCategoryAttribute.cs
- TemplateXamlTreeBuilder.cs
- HScrollProperties.cs
- UserInitiatedNavigationPermission.cs
- DbDeleteCommandTree.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- DiffuseMaterial.cs
- CredentialSelector.cs
- PeerNameResolver.cs
- ActivityCodeDomSerializer.cs
- DesignerSerializationVisibilityAttribute.cs
- SmiGettersStream.cs
- DbException.cs
- TraceHandler.cs
- TemplateBuilder.cs
- sqlmetadatafactory.cs
- _BufferOffsetSize.cs
- SQLDateTimeStorage.cs
- DataGridViewAccessibleObject.cs
- XComponentModel.cs
- TextBoxDesigner.cs
- CommandField.cs
- SHA512.cs
- SqlBooleanMismatchVisitor.cs
- WeakReference.cs
- WebBrowserPermission.cs
- ListDictionaryInternal.cs
- SecurityPolicySection.cs
- QilInvoke.cs
- TextEndOfLine.cs
- XPathQilFactory.cs
- TransactionFlowAttribute.cs
- Int32Converter.cs
- DataSourceView.cs
- GeneratedView.cs
- MailDefinition.cs
- TextTreeInsertElementUndoUnit.cs
- PerformanceCounter.cs
- Int32Rect.cs
- DecimalKeyFrameCollection.cs
- DataColumnPropertyDescriptor.cs
- ToolTipAutomationPeer.cs
- UrlAuthorizationModule.cs
- ListSortDescription.cs
- sqlpipe.cs
- XhtmlBasicImageAdapter.cs
- Point3DCollection.cs