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
- XLinq.cs
- ManagementOperationWatcher.cs
- MSG.cs
- VisualTreeFlattener.cs
- ObjectPersistData.cs
- CreateUserWizardStep.cs
- DependencyPropertyKey.cs
- Operators.cs
- InvokeGenerator.cs
- BlobPersonalizationState.cs
- LookupTables.cs
- StringAttributeCollection.cs
- NumberSubstitution.cs
- SizeAnimationBase.cs
- PageThemeBuildProvider.cs
- FilterableData.cs
- UnsafeNativeMethods.cs
- HierarchicalDataBoundControl.cs
- NumericUpDown.cs
- XmlWellformedWriter.cs
- CompositeCollectionView.cs
- NullableDoubleAverageAggregationOperator.cs
- TableItemStyle.cs
- XmlSchemaSimpleContent.cs
- CommittableTransaction.cs
- SchemaImporterExtensionsSection.cs
- LeafCellTreeNode.cs
- ProtocolsConfigurationHandler.cs
- WindowsGraphicsWrapper.cs
- TypeElement.cs
- ReadOnlyCollection.cs
- StartUpEventArgs.cs
- AutomationPattern.cs
- EmptyCollection.cs
- DictionaryTraceRecord.cs
- CombinedGeometry.cs
- _PooledStream.cs
- DockAndAnchorLayout.cs
- AsyncResult.cs
- ApplicationSecurityManager.cs
- BitmapEffectGroup.cs
- ThreadStaticAttribute.cs
- ImageListStreamer.cs
- AttributeData.cs
- Transform3D.cs
- XmlTextReaderImpl.cs
- DeferredReference.cs
- JournalEntryListConverter.cs
- DataGridTable.cs
- WebPartEditorApplyVerb.cs
- HttpCacheVary.cs
- AttributeCollection.cs
- MimeMapping.cs
- StickyNoteContentControl.cs
- ToolBarButton.cs
- ContextStack.cs
- MimePart.cs
- TraceHandlerErrorFormatter.cs
- XamlInt32CollectionSerializer.cs
- XPathNavigatorReader.cs
- UrlMapping.cs
- GroupByQueryOperator.cs
- DesignerForm.cs
- VariableBinder.cs
- PassportAuthenticationEventArgs.cs
- Point3DIndependentAnimationStorage.cs
- HttpAsyncResult.cs
- SelfIssuedAuthProofToken.cs
- XmlException.cs
- TimeStampChecker.cs
- StringDictionary.cs
- Math.cs
- Enum.cs
- XPathDocumentIterator.cs
- ByteFacetDescriptionElement.cs
- KeyPressEvent.cs
- Geometry3D.cs
- DeflateInput.cs
- BulletedList.cs
- SoapIncludeAttribute.cs
- PreservationFileWriter.cs
- DelegatingConfigHost.cs
- NavigationProperty.cs
- MouseEvent.cs
- Selector.cs
- TextLineResult.cs
- KeyBinding.cs
- TextTreeRootNode.cs
- RowSpanVector.cs
- CalendarAutoFormat.cs
- Automation.cs
- KeyboardDevice.cs
- DigestTraceRecordHelper.cs
- CommonRemoteMemoryBlock.cs
- XamlClipboardData.cs
- DataGrid.cs
- DrawingGroup.cs
- MarkupProperty.cs
- X509SecurityTokenProvider.cs
- WindowPatternIdentifiers.cs