Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Configuration / BufferModesCollection.cs / 5 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlTextReader.cs
- BrowserTree.cs
- PeerApplication.cs
- NotImplementedException.cs
- GridPatternIdentifiers.cs
- VerbConverter.cs
- login.cs
- _NestedSingleAsyncResult.cs
- RenamedEventArgs.cs
- HttpResponseBase.cs
- MobilePage.cs
- ErrorFormatterPage.cs
- GenericTextProperties.cs
- ProfilePropertySettings.cs
- LoadedEvent.cs
- UIElement3D.cs
- ToolboxItemWrapper.cs
- ProfilePropertyNameValidator.cs
- XpsResourceDictionary.cs
- HtmlInputReset.cs
- DeploymentSection.cs
- MediaSystem.cs
- EditorPart.cs
- SqlDataSourceTableQuery.cs
- HttpException.cs
- DataGridViewImageCell.cs
- ActivityBindForm.Designer.cs
- _BasicClient.cs
- ImmutableObjectAttribute.cs
- CompositionAdorner.cs
- PreviewPrintController.cs
- WebPartCancelEventArgs.cs
- SafeBitVector32.cs
- SqlRewriteScalarSubqueries.cs
- ValidatingCollection.cs
- FrameworkElementFactoryMarkupObject.cs
- TreePrinter.cs
- DataGridViewRowEventArgs.cs
- MemberExpression.cs
- SerializationHelper.cs
- HttpDateParse.cs
- BufferedStream.cs
- MimeTypeAttribute.cs
- FontUnit.cs
- CatalogPartChrome.cs
- WebBrowserNavigatingEventHandler.cs
- JsonEncodingStreamWrapper.cs
- BoundConstants.cs
- DataList.cs
- SecurityTokenTypes.cs
- PromptStyle.cs
- CompatibleComparer.cs
- UpDownBase.cs
- CallInfo.cs
- MembershipValidatePasswordEventArgs.cs
- EventPropertyMap.cs
- ChangeNode.cs
- XmlSchemaSimpleTypeRestriction.cs
- SinglePhaseEnlistment.cs
- GridEntryCollection.cs
- NeutralResourcesLanguageAttribute.cs
- HttpModuleAction.cs
- Rect.cs
- FixedPageAutomationPeer.cs
- OutputCacheProfileCollection.cs
- ExecutionEngineException.cs
- SecondaryIndexDefinition.cs
- ListenerConstants.cs
- DataViewListener.cs
- ThumbAutomationPeer.cs
- ChangeDirector.cs
- CoreChannel.cs
- SizeFConverter.cs
- ModulesEntry.cs
- HttpCacheParams.cs
- AgileSafeNativeMemoryHandle.cs
- PermissionSet.cs
- GifBitmapDecoder.cs
- SimpleWorkerRequest.cs
- DiscoveryProxy.cs
- DataGridViewComboBoxEditingControl.cs
- WindowsGraphicsWrapper.cs
- ClientOptions.cs
- XmlSchemaSimpleContent.cs
- MaskPropertyEditor.cs
- ListViewEditEventArgs.cs
- CqlErrorHelper.cs
- RadioButton.cs
- FontWeights.cs
- WebServiceMethodData.cs
- TimeSpanOrInfiniteValidator.cs
- webbrowsersite.cs
- AsymmetricKeyExchangeFormatter.cs
- ListenerElementsCollection.cs
- WebBrowserSiteBase.cs
- CFStream.cs
- TrackingProfile.cs
- ConsoleKeyInfo.cs
- LinqDataSourceContextData.cs
- ResourceContainer.cs