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
- LoginUtil.cs
- ValueConversionAttribute.cs
- ScalarConstant.cs
- PartManifestEntry.cs
- SQLBinary.cs
- XmlTextReaderImplHelpers.cs
- AnnotationStore.cs
- GZipUtils.cs
- DefaultDiscoveryServiceExtension.cs
- ItemsControl.cs
- ResourcesGenerator.cs
- LinqDataSourceSelectEventArgs.cs
- IOException.cs
- FixedMaxHeap.cs
- SqlDataSourceCommandEventArgs.cs
- Int64Converter.cs
- FunctionImportMapping.cs
- SmtpNegotiateAuthenticationModule.cs
- httpapplicationstate.cs
- TypefaceMap.cs
- WebPartMenuStyle.cs
- DependencyProperty.cs
- ProcessHost.cs
- commandenforcer.cs
- Model3DCollection.cs
- ObjectMemberMapping.cs
- DataServiceQuery.cs
- ControlCachePolicy.cs
- EventDescriptor.cs
- ToolStripOverflow.cs
- TreeNodeBinding.cs
- LabelEditEvent.cs
- VariantWrapper.cs
- TypeListConverter.cs
- AnimationStorage.cs
- EntityDataSource.cs
- EntityFunctions.cs
- DoubleCollection.cs
- FontCollection.cs
- ContainsSearchOperator.cs
- NegationPusher.cs
- GradientStopCollection.cs
- AnnotationElement.cs
- PrePrepareMethodAttribute.cs
- BlockCollection.cs
- QilExpression.cs
- ServerValidateEventArgs.cs
- TimeSpanFormat.cs
- cryptoapiTransform.cs
- PropertyDescriptors.cs
- linebase.cs
- HttpListenerContext.cs
- HttpModuleActionCollection.cs
- baseshape.cs
- ContainerControl.cs
- WmpBitmapDecoder.cs
- ArrayList.cs
- SystemDiagnosticsSection.cs
- DeviceSpecificDesigner.cs
- DetailsViewDeletedEventArgs.cs
- ChangeNode.cs
- ReadOnlyTernaryTree.cs
- SamlAuthorizationDecisionStatement.cs
- Selection.cs
- datacache.cs
- BehaviorEditorPart.cs
- TemplateControlBuildProvider.cs
- SchemaCollectionPreprocessor.cs
- ExtractorMetadata.cs
- GeometryGroup.cs
- GridViewColumnCollection.cs
- MSG.cs
- EndpointBehaviorElementCollection.cs
- SignedXmlDebugLog.cs
- SoapIgnoreAttribute.cs
- Visual3DCollection.cs
- CodeArgumentReferenceExpression.cs
- IPHostEntry.cs
- InvalidPropValue.cs
- AudienceUriMode.cs
- ResourceReader.cs
- ImpersonateTokenRef.cs
- UTF8Encoding.cs
- WSSecurityJan2004.cs
- ListViewSortEventArgs.cs
- InvokeWebServiceDesigner.cs
- AppDomain.cs
- StorageBasedPackageProperties.cs
- Errors.cs
- HandlerWithFactory.cs
- SmiGettersStream.cs
- FacetDescriptionElement.cs
- SignedXmlDebugLog.cs
- RecommendedAsConfigurableAttribute.cs
- Win32KeyboardDevice.cs
- JapaneseCalendar.cs
- CompositeDataBoundControl.cs
- RTLAwareMessageBox.cs
- BufferAllocator.cs
- ActivityWithResultConverter.cs