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
- ObjectNotFoundException.cs
- InputProcessorProfiles.cs
- DetailsViewCommandEventArgs.cs
- printdlgexmarshaler.cs
- XmlHierarchicalDataSourceView.cs
- ProfilePropertyMetadata.cs
- PropertyChangingEventArgs.cs
- GridViewColumnHeader.cs
- SqlComparer.cs
- FormClosedEvent.cs
- FilterQuery.cs
- RuntimeIdentifierPropertyAttribute.cs
- AssociationSetEnd.cs
- ListDataBindEventArgs.cs
- ToolStripContainer.cs
- ImageFormat.cs
- SystemNetworkInterface.cs
- MulticastDelegate.cs
- ConfigurationStrings.cs
- UniqueEventHelper.cs
- CachedPathData.cs
- KeyFrames.cs
- GPRECT.cs
- Parallel.cs
- SubpageParaClient.cs
- ObsoleteAttribute.cs
- TypeElement.cs
- StaticFileHandler.cs
- SemanticTag.cs
- ProtocolsConfigurationEntry.cs
- FrameDimension.cs
- odbcmetadatacollectionnames.cs
- IntPtr.cs
- RequestStatusBarUpdateEventArgs.cs
- XomlCompilerResults.cs
- DesignerAdapterAttribute.cs
- HtmlElementEventArgs.cs
- BufferedOutputStream.cs
- UnsafeNativeMethods.cs
- DrawToolTipEventArgs.cs
- Semaphore.cs
- SiteIdentityPermission.cs
- Preprocessor.cs
- RelationshipWrapper.cs
- FontSizeConverter.cs
- RepeatInfo.cs
- CallContext.cs
- CodeBlockBuilder.cs
- BamlReader.cs
- X509CertificateEndpointIdentity.cs
- PersonalizationProviderHelper.cs
- TypeElement.cs
- AutomationProperties.cs
- ConfigurationManagerHelper.cs
- SqlCacheDependencyDatabase.cs
- DataControlFieldCell.cs
- ItemsPresenter.cs
- SmiEventSink_Default.cs
- CodePageUtils.cs
- Descriptor.cs
- ColumnMapCopier.cs
- PrintDialog.cs
- ProfileSection.cs
- Expander.cs
- ADRoleFactoryConfiguration.cs
- BlurBitmapEffect.cs
- NativeActivityContext.cs
- SourceItem.cs
- CaseStatement.cs
- ServiceThrottlingElement.cs
- DbConnectionClosed.cs
- LostFocusEventManager.cs
- XmlNodeChangedEventArgs.cs
- DragCompletedEventArgs.cs
- PngBitmapEncoder.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- nulltextcontainer.cs
- WebPartsSection.cs
- Interlocked.cs
- ScrollViewer.cs
- IODescriptionAttribute.cs
- Parsers.cs
- SQLBinaryStorage.cs
- RawAppCommandInputReport.cs
- indexingfiltermarshaler.cs
- ServiceDescription.cs
- ClientBuildManagerCallback.cs
- COM2ComponentEditor.cs
- ColorMap.cs
- MbpInfo.cs
- ListViewItem.cs
- SecureConversationServiceCredential.cs
- InternalBufferManager.cs
- FileSystemEventArgs.cs
- SctClaimDictionary.cs
- Automation.cs
- OleDbErrorCollection.cs
- RelatedPropertyManager.cs
- ConstNode.cs
- XmlHierarchicalDataSourceView.cs