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
- QueryReaderSettings.cs
- ServiceOperation.cs
- XmlLoader.cs
- SqlDataSourceStatusEventArgs.cs
- AlphabeticalEnumConverter.cs
- HtmlShimManager.cs
- DbConnectionPoolIdentity.cs
- Subtree.cs
- OracleParameterBinding.cs
- FastEncoderWindow.cs
- TypedDatasetGenerator.cs
- MimePart.cs
- SqlNodeAnnotations.cs
- Exceptions.cs
- ComboBoxItem.cs
- DbFunctionCommandTree.cs
- PtsHost.cs
- AdPostCacheSubstitution.cs
- CaseInsensitiveHashCodeProvider.cs
- XamlToRtfParser.cs
- NumericPagerField.cs
- FloaterParagraph.cs
- ReturnEventArgs.cs
- Accessible.cs
- LabelInfo.cs
- ExpressionBinding.cs
- SelectionEditingBehavior.cs
- XmlSchemaCollection.cs
- TextCharacters.cs
- MULTI_QI.cs
- IPPacketInformation.cs
- CurrentTimeZone.cs
- TagNameToTypeMapper.cs
- HybridWebProxyFinder.cs
- SymmetricKeyWrap.cs
- LocalizationParserHooks.cs
- SortAction.cs
- CharacterMetricsDictionary.cs
- UIElement.cs
- GenericRootAutomationPeer.cs
- TreeNodeBinding.cs
- AutoGeneratedField.cs
- TableParaClient.cs
- Cursor.cs
- XmlReflectionMember.cs
- XmlText.cs
- TcpHostedTransportConfiguration.cs
- DependencyObject.cs
- RegularExpressionValidator.cs
- BitmapPalettes.cs
- PropertyMappingExceptionEventArgs.cs
- SharedHttpsTransportManager.cs
- ProxyElement.cs
- SqlTrackingQuery.cs
- CacheAxisQuery.cs
- TreeViewItemAutomationPeer.cs
- DbMetaDataColumnNames.cs
- StickyNote.cs
- WpfPayload.cs
- ToolboxComponentsCreatingEventArgs.cs
- AddInAttribute.cs
- PropertyDescriptorComparer.cs
- Variable.cs
- DBSchemaTable.cs
- MemoryMappedViewStream.cs
- Vector3DAnimationUsingKeyFrames.cs
- PolicyLevel.cs
- CapabilitiesState.cs
- BitmapPalettes.cs
- x509utils.cs
- PolyQuadraticBezierSegment.cs
- HostUtils.cs
- LoadMessageLogger.cs
- XmlSchemaProviderAttribute.cs
- TextEffect.cs
- AnonymousIdentificationModule.cs
- HtmlHead.cs
- ZipIOCentralDirectoryBlock.cs
- AnnotationService.cs
- DataAdapter.cs
- HttpContextServiceHost.cs
- StylusPointProperties.cs
- ExpressionPrefixAttribute.cs
- InkCanvasAutomationPeer.cs
- CancelEventArgs.cs
- StringDictionary.cs
- RegexGroupCollection.cs
- StorageTypeMapping.cs
- SplitterEvent.cs
- WebScriptEndpoint.cs
- XmlReader.cs
- GenericTypeParameterBuilder.cs
- SchemaObjectWriter.cs
- TypeToStringValueConverter.cs
- WindowsListBox.cs
- ThicknessAnimationBase.cs
- FixedDocumentPaginator.cs
- ExpressionHelper.cs
- DataMemberAttribute.cs
- CharacterMetrics.cs