Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / BufferModesCollection.cs / 1305376 / 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))] 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))] 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
- GeometryDrawing.cs
- StylusEventArgs.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ISessionStateStore.cs
- TitleStyle.cs
- UserControlBuildProvider.cs
- TextProviderWrapper.cs
- login.cs
- AsymmetricSecurityProtocolFactory.cs
- SqlClientWrapperSmiStreamChars.cs
- Dispatcher.cs
- ClientProxyGenerator.cs
- Matrix.cs
- ModuleConfigurationInfo.cs
- FileEnumerator.cs
- StackOverflowException.cs
- PolyBezierSegment.cs
- RelationshipSet.cs
- FillRuleValidation.cs
- HijriCalendar.cs
- VariableQuery.cs
- Int32Rect.cs
- TypeGenericEnumerableViewSchema.cs
- Triangle.cs
- TabItemAutomationPeer.cs
- InstanceView.cs
- DeclarativeExpressionConditionDeclaration.cs
- AttributeCollection.cs
- SqlBulkCopyColumnMappingCollection.cs
- RegionData.cs
- IssuanceLicense.cs
- TagPrefixCollection.cs
- MembershipValidatePasswordEventArgs.cs
- EventDescriptor.cs
- UpdateTranslator.cs
- SmiXetterAccessMap.cs
- KeyboardDevice.cs
- ComponentConverter.cs
- AsymmetricAlgorithm.cs
- SafePointer.cs
- ViewManager.cs
- HostExecutionContextManager.cs
- SortedDictionary.cs
- StatusBar.cs
- TextStore.cs
- LinkConverter.cs
- TaskDesigner.cs
- ScriptResourceDefinition.cs
- FixedHyperLink.cs
- Page.cs
- ObjectDataSource.cs
- DataGridColumnHeaderCollection.cs
- EmptyStringExpandableObjectConverter.cs
- ContainerParagraph.cs
- OdbcParameterCollection.cs
- FramingFormat.cs
- PermissionSet.cs
- HttpRawResponse.cs
- LoadedOrUnloadedOperation.cs
- DynamicPropertyHolder.cs
- MessageRpc.cs
- SmtpFailedRecipientException.cs
- ExpressionBindingsDialog.cs
- OleDbDataAdapter.cs
- CodeMemberField.cs
- TypeHelper.cs
- SecurityMessageProperty.cs
- LastQueryOperator.cs
- PermissionSetEnumerator.cs
- RelationalExpressions.cs
- CodeBinaryOperatorExpression.cs
- DataControlReference.cs
- PermissionSetEnumerator.cs
- TrustLevel.cs
- InstrumentationTracker.cs
- DetailsViewDeletedEventArgs.cs
- WebControl.cs
- SimpleTextLine.cs
- IPAddress.cs
- SystemColors.cs
- LiteralControl.cs
- DrawingGroupDrawingContext.cs
- MergeFailedEvent.cs
- AuthorizationContext.cs
- StorageComplexTypeMapping.cs
- CaseCqlBlock.cs
- AutoGeneratedFieldProperties.cs
- DefaultEventAttribute.cs
- TextPointer.cs
- BamlRecordWriter.cs
- DataPagerFieldItem.cs
- SettingsProviderCollection.cs
- PropertyGridEditorPart.cs
- SrgsSemanticInterpretationTag.cs
- Pen.cs
- ConfigurationManagerInternalFactory.cs
- DataSourceConverter.cs
- _SSPIWrapper.cs
- GridViewColumnHeader.cs
- DataViewManagerListItemTypeDescriptor.cs