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
- UIElement.cs
- ObjectListSelectEventArgs.cs
- Variable.cs
- ClientSettingsSection.cs
- DataSourceDesigner.cs
- ParserOptions.cs
- MimeTypeAttribute.cs
- ClipboardData.cs
- HtmlTernaryTree.cs
- PreviewPrintController.cs
- PropertyChangingEventArgs.cs
- FlowLayout.cs
- PublisherMembershipCondition.cs
- DatasetMethodGenerator.cs
- RotateTransform3D.cs
- StoreContentChangedEventArgs.cs
- AspNetHostingPermission.cs
- HttpHandlerActionCollection.cs
- ApplicationSecurityManager.cs
- ComponentResourceKey.cs
- CommandHelper.cs
- Int16KeyFrameCollection.cs
- StateInitialization.cs
- Timer.cs
- ActivityExecutionFilter.cs
- ConfigPathUtility.cs
- TdsRecordBufferSetter.cs
- ParallelLoopState.cs
- MethodSet.cs
- RemotingSurrogateSelector.cs
- PackageRelationshipCollection.cs
- DesignerTransaction.cs
- ChildrenQuery.cs
- XslException.cs
- ResetableIterator.cs
- IDReferencePropertyAttribute.cs
- ViewUtilities.cs
- X509ChainElement.cs
- AuthorizationSection.cs
- TreeNodeBindingCollection.cs
- ProxyWebPart.cs
- _ServiceNameStore.cs
- MethodCallConverter.cs
- KeyboardDevice.cs
- FontEmbeddingManager.cs
- FixedSOMFixedBlock.cs
- GC.cs
- IntegerFacetDescriptionElement.cs
- DiscreteKeyFrames.cs
- Cursor.cs
- ErrorWrapper.cs
- X509Extension.cs
- XmlSchemaComplexContentExtension.cs
- PlatformNotSupportedException.cs
- CompoundFileReference.cs
- odbcmetadatacollectionnames.cs
- PrivilegeNotHeldException.cs
- ComNativeDescriptor.cs
- XsltConvert.cs
- isolationinterop.cs
- XmlParserContext.cs
- RemotingConfiguration.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- XsdBuildProvider.cs
- GeometryConverter.cs
- AtomPub10CategoriesDocumentFormatter.cs
- IndentTextWriter.cs
- ParsedAttributeCollection.cs
- XmlWriterSettings.cs
- CurrentChangingEventManager.cs
- RowType.cs
- ListDictionaryInternal.cs
- COM2IPerPropertyBrowsingHandler.cs
- TakeQueryOptionExpression.cs
- RoleManagerEventArgs.cs
- Polyline.cs
- OleDbException.cs
- ProcessModelSection.cs
- PageCodeDomTreeGenerator.cs
- ButtonChrome.cs
- ConnectionPoolManager.cs
- RuntimeConfig.cs
- WithParamAction.cs
- IdnElement.cs
- TextAutomationPeer.cs
- GenericRootAutomationPeer.cs
- AuthenticationException.cs
- DataTemplate.cs
- RegexInterpreter.cs
- CompositeFontParser.cs
- HandleInitializationContext.cs
- OpCodes.cs
- CompiledAction.cs
- DynamicVirtualDiscoSearcher.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- ImpersonationContext.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- VirtualPathData.cs
- DocumentViewerAutomationPeer.cs
- CombinedGeometry.cs