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
- ContourSegment.cs
- Int16Converter.cs
- JumpPath.cs
- LogLogRecordEnumerator.cs
- TextRunCacheImp.cs
- FontCollection.cs
- SystemResourceHost.cs
- SqlParameterCollection.cs
- StringAnimationBase.cs
- TickBar.cs
- PageFunction.cs
- ProvidersHelper.cs
- BuildProvider.cs
- XmlNamedNodeMap.cs
- Translator.cs
- Int16.cs
- OleDbRowUpdatedEvent.cs
- ProgressBar.cs
- VirtualPathProvider.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- TraceLog.cs
- IssuanceLicense.cs
- Subordinate.cs
- LinqDataSourceSelectEventArgs.cs
- DataGridViewCellFormattingEventArgs.cs
- DataGridViewCellStateChangedEventArgs.cs
- Comparer.cs
- X509Certificate.cs
- ToolBar.cs
- ReadOnlyHierarchicalDataSourceView.cs
- PropertyTab.cs
- FrameAutomationPeer.cs
- ConnectionStringsExpressionEditor.cs
- GlyphRun.cs
- ValueType.cs
- TemplateBindingExtensionConverter.cs
- cryptoapiTransform.cs
- StatusBarDesigner.cs
- TabPanel.cs
- XmlAtomicValue.cs
- Group.cs
- SynchronizationFilter.cs
- CompositeTypefaceMetrics.cs
- NetworkCredential.cs
- PathSegment.cs
- TrustLevel.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- Attributes.cs
- CodePageUtils.cs
- RoutingService.cs
- GeneratedView.cs
- iisPickupDirectory.cs
- MessagePropertyDescriptionCollection.cs
- OdbcConnectionHandle.cs
- ProvidePropertyAttribute.cs
- SizeF.cs
- CellParagraph.cs
- ResourceExpressionBuilder.cs
- SrgsElement.cs
- XmlReaderDelegator.cs
- ListenerUnsafeNativeMethods.cs
- TextAction.cs
- ProfileService.cs
- CacheOutputQuery.cs
- TargetControlTypeCache.cs
- StructuredTypeInfo.cs
- ExceptionValidationRule.cs
- HTMLTextWriter.cs
- SqlGenericUtil.cs
- SmiEventSink.cs
- MediaContextNotificationWindow.cs
- SourceChangedEventArgs.cs
- ObjectDataSourceView.cs
- OleDbCommand.cs
- AppDomainUnloadedException.cs
- ContentValidator.cs
- TreeViewItemAutomationPeer.cs
- HttpCookiesSection.cs
- FormsAuthenticationUserCollection.cs
- BrowserTree.cs
- FontNamesConverter.cs
- PolicyLevel.cs
- ArraySortHelper.cs
- ActiveXContainer.cs
- ObjectStateManagerMetadata.cs
- Color.cs
- AnimatedTypeHelpers.cs
- InfoCardXmlSerializer.cs
- Sql8ConformanceChecker.cs
- DataServiceQueryProvider.cs
- BufferedConnection.cs
- PointCollection.cs
- ListBox.cs
- CompiledQueryCacheEntry.cs
- SingleTagSectionHandler.cs
- SqlDataSourceCommandEventArgs.cs
- EntityCommandDefinition.cs
- MsdtcWrapper.cs
- DataViewManagerListItemTypeDescriptor.cs
- XmlExpressionDumper.cs