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
- AppDomain.cs
- DataGridViewCellConverter.cs
- XmlSchemaObjectTable.cs
- NullableLongSumAggregationOperator.cs
- SqlNotificationRequest.cs
- PolygonHotSpot.cs
- X509Utils.cs
- InfoCardMetadataExchangeClient.cs
- CompilationUtil.cs
- ReflectionHelper.cs
- GridEntry.cs
- RenderDataDrawingContext.cs
- PropertyValueChangedEvent.cs
- XomlCompilerHelpers.cs
- ListViewUpdateEventArgs.cs
- LabelAutomationPeer.cs
- MenuStrip.cs
- SecurityManager.cs
- SaveFileDialog.cs
- WebHttpSecurityElement.cs
- MouseBinding.cs
- SqlUnionizer.cs
- Comparer.cs
- SecurityState.cs
- TableLayoutPanelCellPosition.cs
- DbConvert.cs
- TrackingServices.cs
- HMACSHA512.cs
- SvcMapFileLoader.cs
- DependencyPropertyAttribute.cs
- CodeArrayIndexerExpression.cs
- FloatAverageAggregationOperator.cs
- DataGridTable.cs
- LoginViewDesigner.cs
- Control.cs
- DockPattern.cs
- DockPanel.cs
- SQLDecimalStorage.cs
- storepermissionattribute.cs
- ProviderUtil.cs
- ToolZone.cs
- CodeExporter.cs
- AssemblyFilter.cs
- State.cs
- ObjectCloneHelper.cs
- ConnectionConsumerAttribute.cs
- SecureConversationSecurityTokenParameters.cs
- ResizeGrip.cs
- Property.cs
- SortKey.cs
- HierarchicalDataSourceDesigner.cs
- ImpersonationContext.cs
- PagedDataSource.cs
- SymbolTable.cs
- TableRowsCollectionEditor.cs
- ColorConverter.cs
- ConfigurationException.cs
- ZipIOExtraField.cs
- BrowserTree.cs
- XsltInput.cs
- SerializationFieldInfo.cs
- GenericUriParser.cs
- SafeCoTaskMem.cs
- InputLanguageManager.cs
- CatalogPartChrome.cs
- MatrixIndependentAnimationStorage.cs
- LineMetrics.cs
- FlowDocumentPaginator.cs
- CompositeFontFamily.cs
- Single.cs
- ReadWriteObjectLock.cs
- TransactionProxy.cs
- DispatcherProcessingDisabled.cs
- TableLayoutPanel.cs
- FontConverter.cs
- HyperlinkAutomationPeer.cs
- Calendar.cs
- ContextMenuStrip.cs
- AxHost.cs
- AuthorizationRule.cs
- ConfigurationElementProperty.cs
- MILUtilities.cs
- HostProtectionException.cs
- BCLDebug.cs
- WindowInteropHelper.cs
- DetailsViewRowCollection.cs
- SoapSchemaMember.cs
- Unit.cs
- SchemaElement.cs
- ProxyGenerationError.cs
- WorkflowOwnershipException.cs
- BinaryReader.cs
- EdmValidator.cs
- AstTree.cs
- ObjectHandle.cs
- SessionPageStateSection.cs
- DownloadProgressEventArgs.cs
- SelectionChangedEventArgs.cs
- WorkflowOwnerAsyncResult.cs
- TextEditorTyping.cs