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
- PropertyToken.cs
- validation.cs
- DataSourceCacheDurationConverter.cs
- X509CertificateStore.cs
- CodeObject.cs
- NativeCppClassAttribute.cs
- BinaryUtilClasses.cs
- _OSSOCK.cs
- XmlDictionaryReaderQuotas.cs
- StatusBarPanelClickEvent.cs
- GridViewDeletedEventArgs.cs
- Serializer.cs
- SqlDataSourceCommandEventArgs.cs
- PictureBox.cs
- WaitForChangedResult.cs
- DocumentViewer.cs
- TrustManagerMoreInformation.cs
- DataSourceControlBuilder.cs
- Repeater.cs
- TextServicesManager.cs
- HierarchicalDataSourceControl.cs
- WorkflowInstanceTerminatedRecord.cs
- AspCompat.cs
- HttpInputStream.cs
- LineGeometry.cs
- DoubleIndependentAnimationStorage.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- Image.cs
- TransformationRules.cs
- SoapIncludeAttribute.cs
- HandlerFactoryWrapper.cs
- ResourceAttributes.cs
- DataColumnMapping.cs
- RSACryptoServiceProvider.cs
- AuthorizationRuleCollection.cs
- Single.cs
- diagnosticsswitches.cs
- CTreeGenerator.cs
- WindowInteropHelper.cs
- MouseEventArgs.cs
- QilName.cs
- DataGridViewCellStyleChangedEventArgs.cs
- TypeName.cs
- TransportListener.cs
- ApplicationHost.cs
- xmlformatgeneratorstatics.cs
- FlowPosition.cs
- SettingsBase.cs
- InvalidWMPVersionException.cs
- TextFormatter.cs
- XmlSerializationReader.cs
- WindowsAltTab.cs
- CurrentChangedEventManager.cs
- ManagedFilter.cs
- ProtocolReflector.cs
- AnimatedTypeHelpers.cs
- FixedSOMLineCollection.cs
- PromptStyle.cs
- XmlWriterSettings.cs
- ButtonStandardAdapter.cs
- CLSCompliantAttribute.cs
- PropertyGridCommands.cs
- PageFunction.cs
- TreeNodeBindingDepthConverter.cs
- DelayedRegex.cs
- ClientBuildManagerCallback.cs
- FillErrorEventArgs.cs
- StateDesigner.cs
- UDPClient.cs
- WorkflowMarkupElementEventArgs.cs
- GeneralTransformGroup.cs
- ThrowHelper.cs
- FontNamesConverter.cs
- MarkupExtensionParser.cs
- TypeValidationEventArgs.cs
- AstTree.cs
- VSWCFServiceContractGenerator.cs
- SerialPinChanges.cs
- TableRowCollection.cs
- TogglePatternIdentifiers.cs
- Delay.cs
- ControlPaint.cs
- TextLineResult.cs
- DataList.cs
- WindowsStatusBar.cs
- TableProviderWrapper.cs
- XamlSerializerUtil.cs
- ColumnMapVisitor.cs
- EdmScalarPropertyAttribute.cs
- StaticExtensionConverter.cs
- PageWrapper.cs
- RangeValuePatternIdentifiers.cs
- ConfigXmlText.cs
- StoreItemCollection.Loader.cs
- RuntimeCompatibilityAttribute.cs
- _TimerThread.cs
- WorkflowTimerService.cs
- DbSource.cs
- FunctionDescription.cs
- RawAppCommandInputReport.cs