Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Configuration / BufferModesCollection.cs / 2 / BufferModesCollection.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.Globalization; using System.IO; using System.Text; using System.ComponentModel; using System.Web.Hosting; using System.Web.Util; using System.Web.Configuration; using System.Web.Management; using System.Web.Compilation; using System.Security.Permissions; [ConfigurationCollection(typeof(BufferModeSettings))] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class BufferModesCollection : ConfigurationElementCollection { private static ConfigurationPropertyCollection _properties; static BufferModesCollection() { // Property initialization _properties = new ConfigurationPropertyCollection(); } public BufferModesCollection() { } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } public void Add(BufferModeSettings bufferModeSettings) { BaseAdd(bufferModeSettings); } public void Remove(String s) { BaseRemove(s); } public void Clear() { BaseClear(); } protected override ConfigurationElement CreateNewElement() { return new BufferModeSettings(); } protected override Object GetElementKey(ConfigurationElement element) { return ((BufferModeSettings)element).Name; } public new BufferModeSettings this[string key] { get { return (BufferModeSettings)BaseGet(key); } } public BufferModeSettings this[int index] { get { return (BufferModeSettings)BaseGet(index); } set { if (BaseGet(index) != null) { BaseRemoveAt(index); } BaseAdd(index, value); } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExtensionWindowHeader.cs
- EditorPart.cs
- SQLDoubleStorage.cs
- ParseHttpDate.cs
- SQLBinaryStorage.cs
- NamespaceMapping.cs
- DefaultValidator.cs
- RenderDataDrawingContext.cs
- ProxyWebPart.cs
- HtmlUtf8RawTextWriter.cs
- DataGridViewCellValidatingEventArgs.cs
- ImageBrush.cs
- HostedTcpTransportManager.cs
- CFStream.cs
- TaskDesigner.cs
- DBConnectionString.cs
- RootNamespaceAttribute.cs
- AnimatedTypeHelpers.cs
- XsltArgumentList.cs
- ArithmeticException.cs
- ConfigXmlComment.cs
- FileVersion.cs
- Wildcard.cs
- ProviderManager.cs
- ObjectSet.cs
- SafePipeHandle.cs
- ToolStripSplitStackLayout.cs
- ByteStack.cs
- FrameworkTemplate.cs
- FieldNameLookup.cs
- Point3DCollection.cs
- ProfileProvider.cs
- VisualSerializer.cs
- NotFiniteNumberException.cs
- OdbcConnectionPoolProviderInfo.cs
- DataGridState.cs
- OleDbDataReader.cs
- AttributeQuery.cs
- LockedBorderGlyph.cs
- PersonalizationStateQuery.cs
- DecoderExceptionFallback.cs
- TokenBasedSet.cs
- SecurityRuntime.cs
- NextPreviousPagerField.cs
- ObjectHelper.cs
- SqlCommandSet.cs
- InvalidAsynchronousStateException.cs
- ParseElement.cs
- DrawListViewColumnHeaderEventArgs.cs
- SafeCryptoHandles.cs
- Token.cs
- Pointer.cs
- WS2007HttpBindingElement.cs
- XPathBinder.cs
- XPathPatternBuilder.cs
- OracleParameterBinding.cs
- FilterQuery.cs
- WebPartZoneCollection.cs
- ConfigurationCollectionAttribute.cs
- DeclarativeCatalogPart.cs
- BindingContext.cs
- CodeTypeOfExpression.cs
- XPathAncestorQuery.cs
- ListDataHelper.cs
- PassportPrincipal.cs
- HTTPNotFoundHandler.cs
- TextTreePropertyUndoUnit.cs
- RawTextInputReport.cs
- AuthenticationException.cs
- TextEditorTyping.cs
- login.cs
- SelectionEditor.cs
- RemoveStoryboard.cs
- BitConverter.cs
- RawTextInputReport.cs
- XPathLexer.cs
- FramingFormat.cs
- XamlTemplateSerializer.cs
- TrailingSpaceComparer.cs
- EncryptedPackageFilter.cs
- AutomationIdentifierGuids.cs
- Header.cs
- PrintController.cs
- ToolStripDropDownClosedEventArgs.cs
- ColorIndependentAnimationStorage.cs
- EntitySet.cs
- Cursor.cs
- SequentialUshortCollection.cs
- DataSourceCollectionBase.cs
- ModulesEntry.cs
- NamespaceList.cs
- RightsManagementEncryptionTransform.cs
- IssuedSecurityTokenParameters.cs
- NetworkInterface.cs
- Int16Animation.cs
- UniformGrid.cs
- HttpCachePolicyElement.cs
- DbTransaction.cs
- ProtocolsConfigurationHandler.cs
- ZipIOModeEnforcingStream.cs