Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DiscoveryVersionConverter.cs
- BinaryParser.cs
- SafeCryptoHandles.cs
- RepeaterCommandEventArgs.cs
- XmlReader.cs
- counter.cs
- _SafeNetHandles.cs
- CodeConstructor.cs
- XmlDocumentFieldSchema.cs
- RemoteWebConfigurationHost.cs
- FlowPanelDesigner.cs
- Interlocked.cs
- MaskPropertyEditor.cs
- Section.cs
- ServiceEndpointElementCollection.cs
- AsyncOperation.cs
- TypeConverterHelper.cs
- EditorPartChrome.cs
- DragCompletedEventArgs.cs
- securitycriticaldataClass.cs
- StatusInfoItem.cs
- BulletDecorator.cs
- UIElementHelper.cs
- EpmSourceTree.cs
- FrameworkElement.cs
- PinnedBufferMemoryStream.cs
- DesignerDataColumn.cs
- VisualBrush.cs
- Button.cs
- mediaclock.cs
- MultiDataTrigger.cs
- ParserHooks.cs
- AccessViolationException.cs
- AssemblyBuilderData.cs
- ExtendLockCommand.cs
- TagPrefixInfo.cs
- RenderCapability.cs
- HttpListener.cs
- _TimerThread.cs
- UrlMapping.cs
- ListDictionary.cs
- BitmapEffectDrawing.cs
- UnsignedPublishLicense.cs
- PenContext.cs
- DataGridViewBand.cs
- DefaultPrintController.cs
- AuthenticationModuleElement.cs
- PersonalizablePropertyEntry.cs
- WebColorConverter.cs
- ShutDownListener.cs
- OleDbEnumerator.cs
- ExternalCalls.cs
- MultilineStringEditor.cs
- FileInfo.cs
- PeerChannelFactory.cs
- OperationFormatter.cs
- HandlerBase.cs
- AlgoModule.cs
- TabletDeviceInfo.cs
- WpfSharedXamlSchemaContext.cs
- SkinIDTypeConverter.cs
- Matrix3DValueSerializer.cs
- InfoCardSymmetricAlgorithm.cs
- CurrencyWrapper.cs
- LexicalChunk.cs
- StateManagedCollection.cs
- HostedTransportConfigurationBase.cs
- TimeoutHelper.cs
- XmlQueryType.cs
- VarRemapper.cs
- ButtonFlatAdapter.cs
- MessageSmuggler.cs
- MappingModelBuildProvider.cs
- HtmlMeta.cs
- ColumnReorderedEventArgs.cs
- DataGridBoolColumn.cs
- _HeaderInfo.cs
- ChannelServices.cs
- BitmapScalingModeValidation.cs
- XmlUrlResolver.cs
- AssemblyCollection.cs
- Transform3D.cs
- QilScopedVisitor.cs
- WCFBuildProvider.cs
- TypedAsyncResult.cs
- Vector3DAnimationBase.cs
- ApplicationServiceManager.cs
- WebPartZoneCollection.cs
- lengthconverter.cs
- ScrollBarAutomationPeer.cs
- PatternMatcher.cs
- BindingElementCollection.cs
- Decimal.cs
- AttachedPropertyBrowsableAttribute.cs
- CodeDirectoryCompiler.cs
- SqlErrorCollection.cs
- UICuesEvent.cs
- MouseActionValueSerializer.cs
- PKCS1MaskGenerationMethod.cs
- SchemaCollectionCompiler.cs