Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / Configuration / BufferModesCollection.cs / 1 / 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
- XPathNodeIterator.cs
- DiscoveryServerProtocol.cs
- LoginName.cs
- DataGridViewCellCancelEventArgs.cs
- ReadOnlyHierarchicalDataSourceView.cs
- IDReferencePropertyAttribute.cs
- FormsAuthenticationModule.cs
- PingReply.cs
- SchemaNames.cs
- Path.cs
- MarshalByValueComponent.cs
- recordstatescratchpad.cs
- DataRow.cs
- DataGridViewRowsAddedEventArgs.cs
- SystemInformation.cs
- CodeDirectionExpression.cs
- ByteStreamGeometryContext.cs
- ResourceDescriptionAttribute.cs
- ProxyAttribute.cs
- RenderingBiasValidation.cs
- CodeValidator.cs
- ManipulationLogic.cs
- XmlQueryCardinality.cs
- IisTraceListener.cs
- ReadContentAsBinaryHelper.cs
- MessageQueueException.cs
- OdbcStatementHandle.cs
- SQLString.cs
- ImageMapEventArgs.cs
- WindowsGraphicsWrapper.cs
- AesCryptoServiceProvider.cs
- SettingsSection.cs
- PageRequestManager.cs
- GeometryModel3D.cs
- XmlComment.cs
- Scalars.cs
- XmlSchemaExporter.cs
- CompressedStack.cs
- ContentPlaceHolder.cs
- OutOfMemoryException.cs
- FileEnumerator.cs
- WebContentFormatHelper.cs
- TaiwanLunisolarCalendar.cs
- TreeNodeConverter.cs
- PointLight.cs
- QuaternionRotation3D.cs
- OleDbErrorCollection.cs
- ClientSession.cs
- WebResponse.cs
- QueryCreatedEventArgs.cs
- SelectedDatesCollection.cs
- XmlSchemas.cs
- ConstructorNeedsTagAttribute.cs
- TypeConverterMarkupExtension.cs
- StringStorage.cs
- AQNBuilder.cs
- MissingManifestResourceException.cs
- DeflateInput.cs
- UIElementParagraph.cs
- CacheDependency.cs
- CodeDomDesignerLoader.cs
- TransactionCache.cs
- Table.cs
- LinqTreeNodeEvaluator.cs
- BooleanFunctions.cs
- XPathParser.cs
- ExpressionBuilderContext.cs
- XmlObjectSerializerReadContext.cs
- _SafeNetHandles.cs
- PriorityBindingExpression.cs
- UnorderedHashRepartitionStream.cs
- NumericExpr.cs
- ImageButton.cs
- ExpressionConverter.cs
- AnimationStorage.cs
- CodeNamespaceImport.cs
- UndoEngine.cs
- SetUserLanguageRequest.cs
- UnaryNode.cs
- SortDescriptionCollection.cs
- OracleFactory.cs
- PersonalizationStateInfoCollection.cs
- EditorPartDesigner.cs
- IPAddress.cs
- AgileSafeNativeMemoryHandle.cs
- CodeGenerator.cs
- CompoundFileDeflateTransform.cs
- IndentedTextWriter.cs
- HTTPNotFoundHandler.cs
- XsltSettings.cs
- Scripts.cs
- ComplexType.cs
- Transform3D.cs
- MonthCalendar.cs
- EventListener.cs
- PerformanceCounterManager.cs
- ListViewCommandEventArgs.cs
- CompiledQueryCacheKey.cs
- BindingMAnagerBase.cs
- WeakReferenceEnumerator.cs