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
- CompositeCollectionView.cs
- TextAction.cs
- EntityClassGenerator.cs
- AnnotationMap.cs
- bidPrivateBase.cs
- SequenceFullException.cs
- XmlSchemaValidationException.cs
- EventProvider.cs
- _NetworkingPerfCounters.cs
- Int16Storage.cs
- StatusBarItem.cs
- DataService.cs
- BinaryQueryOperator.cs
- SplineKeyFrames.cs
- FragmentNavigationEventArgs.cs
- TokenBasedSet.cs
- ConfigurationLocation.cs
- AuthorizationRuleCollection.cs
- SRGSCompiler.cs
- ProxyManager.cs
- BuilderInfo.cs
- NamespaceList.cs
- DataControlFieldHeaderCell.cs
- RemoteAsymmetricSignatureFormatter.cs
- Activator.cs
- FilterableAttribute.cs
- DataObjectMethodAttribute.cs
- XmlSignificantWhitespace.cs
- PeerTransportListenAddressValidatorAttribute.cs
- DataGridTextColumn.cs
- WebPartDisplayModeCancelEventArgs.cs
- Tablet.cs
- ValueUnavailableException.cs
- DataSourceControl.cs
- HuffmanTree.cs
- TypeHelper.cs
- DesignerValidationSummaryAdapter.cs
- TraceSection.cs
- LocalizationCodeDomSerializer.cs
- DuplicateWaitObjectException.cs
- BitConverter.cs
- IntegerValidatorAttribute.cs
- WindowsRichEditRange.cs
- OutputScopeManager.cs
- X509InitiatorCertificateClientElement.cs
- MultiView.cs
- PlatformNotSupportedException.cs
- DelegateArgumentValue.cs
- querybuilder.cs
- FixedHyperLink.cs
- SafeCancelMibChangeNotify.cs
- OleDbMetaDataFactory.cs
- DBNull.cs
- GridItem.cs
- DataGridViewBand.cs
- ClientScriptItem.cs
- SimpleApplicationHost.cs
- ExtentJoinTreeNode.cs
- Window.cs
- DataObjectMethodAttribute.cs
- ControlBuilder.cs
- StatusStrip.cs
- ModelItemDictionaryImpl.cs
- ColorDialog.cs
- OdbcTransaction.cs
- NetworkInformationException.cs
- _SecureChannel.cs
- ObjectDataSource.cs
- ListControlDataBindingHandler.cs
- EditorPart.cs
- CompoundFileIOPermission.cs
- MarkupExtensionParser.cs
- ParameterCollection.cs
- UInt64.cs
- DataTemplateSelector.cs
- PanelStyle.cs
- SystemIcons.cs
- SoapObjectReader.cs
- FormsAuthenticationUser.cs
- ModulesEntry.cs
- DecoderReplacementFallback.cs
- HtmlInputReset.cs
- TemplateParser.cs
- MouseButtonEventArgs.cs
- FactoryRecord.cs
- _NestedSingleAsyncResult.cs
- EnumMember.cs
- ProfileParameter.cs
- CachedPathData.cs
- RoleGroup.cs
- HybridDictionary.cs
- LogicalExpressionEditor.cs
- ECDiffieHellman.cs
- SqlPersonalizationProvider.cs
- SQLByte.cs
- HelpEvent.cs
- FileDialogCustomPlace.cs
- webproxy.cs
- AnnotationComponentManager.cs
- DataGridViewCellPaintingEventArgs.cs