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
- SafeRightsManagementSessionHandle.cs
- MiniCustomAttributeInfo.cs
- KeyBinding.cs
- EnumMemberAttribute.cs
- IConvertible.cs
- HandlerBase.cs
- _TransmitFileOverlappedAsyncResult.cs
- AutomationTextAttribute.cs
- XomlSerializationHelpers.cs
- RoutingChannelExtension.cs
- MetadataCache.cs
- ConfigDefinitionUpdates.cs
- MeshGeometry3D.cs
- SystemIPAddressInformation.cs
- ExpressionList.cs
- UnitySerializationHolder.cs
- XamlParser.cs
- QilPatternVisitor.cs
- SessionConnectionReader.cs
- TableItemStyle.cs
- CacheDict.cs
- DecimalKeyFrameCollection.cs
- DbgUtil.cs
- SpellCheck.cs
- WarningException.cs
- SubpageParagraph.cs
- SystemBrushes.cs
- WebPartsPersonalizationAuthorization.cs
- FormsAuthenticationConfiguration.cs
- SplitterEvent.cs
- SafePEFileHandle.cs
- TreeBuilderXamlTranslator.cs
- BitmapData.cs
- Path.cs
- UIElement3DAutomationPeer.cs
- SqlXmlStorage.cs
- contentDescriptor.cs
- AuthorizationRule.cs
- DataControlImageButton.cs
- Message.cs
- WmlSelectionListAdapter.cs
- StorageConditionPropertyMapping.cs
- WorkflowFormatterBehavior.cs
- ProfileInfo.cs
- ServiceModelInstallComponent.cs
- ProcessHostMapPath.cs
- DeadCharTextComposition.cs
- StringFormat.cs
- DispatcherSynchronizationContext.cs
- Hex.cs
- DataGridViewRowCancelEventArgs.cs
- BindingValueChangedEventArgs.cs
- ResolvedKeyFrameEntry.cs
- OutputCacheSettings.cs
- Base64Encoder.cs
- HttpCachePolicyElement.cs
- streamingZipPartStream.cs
- ReturnEventArgs.cs
- DbQueryCommandTree.cs
- SiteMapNodeItem.cs
- DataServiceQueryOfT.cs
- DiscoveryExceptionDictionary.cs
- TargetInvocationException.cs
- RuleCache.cs
- RawStylusSystemGestureInputReport.cs
- InputLanguageCollection.cs
- CacheDependency.cs
- ExpressionEvaluator.cs
- TemplatePagerField.cs
- LineProperties.cs
- ObjectStateEntry.cs
- SchemaImporterExtensionElementCollection.cs
- NumberFormatter.cs
- ContextDataSourceContextData.cs
- FormViewUpdatedEventArgs.cs
- WinInet.cs
- TrueReadOnlyCollection.cs
- XmlSerializerVersionAttribute.cs
- SqlServer2KCompatibilityAnnotation.cs
- AssemblyUtil.cs
- pingexception.cs
- HttpUnhandledOperationInvoker.cs
- PopupRootAutomationPeer.cs
- Registry.cs
- xmlfixedPageInfo.cs
- BindingRestrictions.cs
- XamlDebuggerXmlReader.cs
- FontWeights.cs
- HMAC.cs
- QfeChecker.cs
- NameTable.cs
- ParseNumbers.cs
- hresults.cs
- UidManager.cs
- ArithmeticException.cs
- HttpRawResponse.cs
- JsonWriter.cs
- DateTimeSerializationSection.cs
- DependencyPropertyKind.cs
- StatusStrip.cs