Code:
/ FX-1434 / FX-1434 / 1.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
- MatrixConverter.cs
- ProcessHostFactoryHelper.cs
- WeakEventTable.cs
- XmlEnumAttribute.cs
- NotifyInputEventArgs.cs
- BoundField.cs
- MarkupExtensionReturnTypeAttribute.cs
- EdmScalarPropertyAttribute.cs
- PersonalizationDictionary.cs
- CompositionDesigner.cs
- HMACMD5.cs
- Publisher.cs
- HtmlControlPersistable.cs
- SystemIPv6InterfaceProperties.cs
- SqlDataSourceStatusEventArgs.cs
- HtmlWindowCollection.cs
- IsolatedStorageFilePermission.cs
- Invariant.cs
- ObfuscateAssemblyAttribute.cs
- DataServiceException.cs
- WebPartMinimizeVerb.cs
- SqlClientWrapperSmiStream.cs
- PrintingPermissionAttribute.cs
- ErrorWebPart.cs
- BlurBitmapEffect.cs
- AsyncResult.cs
- SymbolTable.cs
- DeobfuscatingStream.cs
- BamlVersionHeader.cs
- DataObjectMethodAttribute.cs
- MediaCommands.cs
- ToolStripSeparatorRenderEventArgs.cs
- DBCSCodePageEncoding.cs
- DrawingContext.cs
- HashSetDebugView.cs
- TableCellCollection.cs
- ParameterToken.cs
- TreeChangeInfo.cs
- DiscoveryVersion.cs
- CloseCryptoHandleRequest.cs
- ListViewSelectEventArgs.cs
- FacetValueContainer.cs
- StreamBodyWriter.cs
- CustomServiceCredentials.cs
- Metafile.cs
- IISMapPath.cs
- ToolStrip.cs
- Fonts.cs
- _Win32.cs
- SqlClientPermission.cs
- SingleTagSectionHandler.cs
- PropertyGridCommands.cs
- DecimalAnimation.cs
- DetailsViewCommandEventArgs.cs
- RegexWorker.cs
- EventHandlerList.cs
- DataListItemCollection.cs
- XmlKeywords.cs
- Baml6Assembly.cs
- _TransmitFileOverlappedAsyncResult.cs
- ColorIndependentAnimationStorage.cs
- PointCollectionConverter.cs
- NameValueConfigurationElement.cs
- FontConverter.cs
- CreateInstanceBinder.cs
- XLinq.cs
- GifBitmapDecoder.cs
- ColumnMapProcessor.cs
- ImportCatalogPart.cs
- FieldMetadata.cs
- TableCellCollection.cs
- MappingException.cs
- MappingSource.cs
- ListViewCommandEventArgs.cs
- SymLanguageType.cs
- SoapFormatExtensions.cs
- IpcServerChannel.cs
- SelectionProcessor.cs
- ManualWorkflowSchedulerService.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- SelectedDatesCollection.cs
- FixedPage.cs
- SqlWorkflowPersistenceService.cs
- TableLayoutPanelBehavior.cs
- CroppedBitmap.cs
- FrugalMap.cs
- InputProviderSite.cs
- SequentialUshortCollection.cs
- ADMembershipProvider.cs
- HashUtility.cs
- HttpFileCollectionBase.cs
- DispatcherFrame.cs
- TextFormatter.cs
- TableHeaderCell.cs
- FullTextBreakpoint.cs
- HttpException.cs
- EventTrigger.cs
- Compilation.cs
- RowUpdatingEventArgs.cs
- XmlCharType.cs