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
- DefaultAssemblyResolver.cs
- WebPartsPersonalization.cs
- XmlDataProvider.cs
- CompensatableTransactionScopeActivityDesigner.cs
- GradientStop.cs
- SoapEnumAttribute.cs
- ImageList.cs
- TrackingQueryElement.cs
- MyContact.cs
- OdbcException.cs
- DbConnectionClosed.cs
- ColumnTypeConverter.cs
- FigureParaClient.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DataGridColumnCollection.cs
- ValidationErrorInfo.cs
- DesignOnlyAttribute.cs
- ManualResetEvent.cs
- ThreadExceptionDialog.cs
- QilIterator.cs
- FixedSOMImage.cs
- milrender.cs
- MetadataArtifactLoaderCompositeResource.cs
- _NegotiateClient.cs
- UInt64.cs
- EpmCustomContentSerializer.cs
- ResolveMatchesCD1.cs
- X509Utils.cs
- EdmComplexTypeAttribute.cs
- PolyLineSegmentFigureLogic.cs
- PointCollectionValueSerializer.cs
- SqlFileStream.cs
- XmlUTF8TextReader.cs
- MenuItem.cs
- StringBuilder.cs
- WebPartPersonalization.cs
- StaticResourceExtension.cs
- COM2Properties.cs
- PermissionSet.cs
- Codec.cs
- ProtocolViolationException.cs
- DeviceFilterEditorDialog.cs
- SqlRowUpdatingEvent.cs
- SecureConversationServiceElement.cs
- RoutedEventHandlerInfo.cs
- shaper.cs
- ProjectedWrapper.cs
- PaintValueEventArgs.cs
- FacetValueContainer.cs
- ToolboxDataAttribute.cs
- DelimitedListTraceListener.cs
- SubMenuStyle.cs
- FrameworkTemplate.cs
- DrawingAttributeSerializer.cs
- HttpListenerElement.cs
- HttpServerVarsCollection.cs
- PropertyHelper.cs
- OleDbEnumerator.cs
- BamlMapTable.cs
- ImmutableObjectAttribute.cs
- PeerNameRecord.cs
- MyContact.cs
- DesignTimeVisibleAttribute.cs
- XmlIterators.cs
- BamlReader.cs
- DynamicHyperLink.cs
- PropertyTabAttribute.cs
- InstanceDataCollectionCollection.cs
- ConnectionStringSettingsCollection.cs
- DbXmlEnabledProviderManifest.cs
- MobileCategoryAttribute.cs
- RTLAwareMessageBox.cs
- ProxyWebPartConnectionCollection.cs
- HyperLinkDesigner.cs
- QueryMath.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ScrollChrome.cs
- ExeConfigurationFileMap.cs
- ButtonDesigner.cs
- RSACryptoServiceProvider.cs
- PageStatePersister.cs
- CapabilitiesRule.cs
- WindowsIPAddress.cs
- PeerCollaboration.cs
- XmlConvert.cs
- DurableInstance.cs
- PriorityQueue.cs
- IndexOutOfRangeException.cs
- ExpressionWriter.cs
- Int16Converter.cs
- XhtmlBasicLiteralTextAdapter.cs
- LinqDataSourceUpdateEventArgs.cs
- StandardOleMarshalObject.cs
- FormViewPagerRow.cs
- CollectionDataContract.cs
- IgnoreFileBuildProvider.cs
- sqlcontext.cs
- ObjectReferenceStack.cs
- StorageEntitySetMapping.cs
- EventMappingSettingsCollection.cs