Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / BufferModesCollection.cs / 2 / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataServiceProviderWrapper.cs
- ColorPalette.cs
- HtmlForm.cs
- XPathParser.cs
- ADConnectionHelper.cs
- WorkflowEnvironment.cs
- MustUnderstandBehavior.cs
- SecurityDescriptor.cs
- WebPartConnectionsDisconnectVerb.cs
- ContainerUIElement3D.cs
- CaseInsensitiveOrdinalStringComparer.cs
- PointLight.cs
- MethodMessage.cs
- PeerApplicationLaunchInfo.cs
- TypeNameHelper.cs
- GraphicsPathIterator.cs
- TailPinnedEventArgs.cs
- QilScopedVisitor.cs
- ConfigXmlAttribute.cs
- PrincipalPermission.cs
- OdbcReferenceCollection.cs
- MetabaseSettingsIis7.cs
- OLEDB_Enum.cs
- OleDbParameterCollection.cs
- JsonStringDataContract.cs
- ThreadAbortException.cs
- CodeNamespaceCollection.cs
- CngAlgorithm.cs
- GridView.cs
- IriParsingElement.cs
- Assert.cs
- Lazy.cs
- NetworkInformationException.cs
- ContextMarshalException.cs
- DirectoryRootQuery.cs
- SystemInformation.cs
- Cursor.cs
- VisualTreeHelper.cs
- EventManager.cs
- DataRowCollection.cs
- ChangeNode.cs
- EnumerableRowCollection.cs
- ProcessProtocolHandler.cs
- XmlTypeMapping.cs
- Compiler.cs
- RuntimeVariableList.cs
- SchemaSetCompiler.cs
- RenameRuleObjectDialog.Designer.cs
- ClientTarget.cs
- Pair.cs
- TransformerTypeCollection.cs
- InProcStateClientManager.cs
- StorageBasedPackageProperties.cs
- ScriptManager.cs
- StringWriter.cs
- IsolatedStorage.cs
- DrawingContextDrawingContextWalker.cs
- MenuStrip.cs
- precedingsibling.cs
- ParameterExpression.cs
- DependencyObjectType.cs
- MemoryStream.cs
- BamlLocalizationDictionary.cs
- SyndicationDeserializer.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- TypeListConverter.cs
- TagNameToTypeMapper.cs
- TagPrefixAttribute.cs
- DocumentEventArgs.cs
- SHA256Managed.cs
- RadioButtonList.cs
- Imaging.cs
- MissingManifestResourceException.cs
- FileDetails.cs
- ToolStripDesignerAvailabilityAttribute.cs
- HandlerFactoryWrapper.cs
- AssemblyName.cs
- PropertyGridView.cs
- CheckBoxRenderer.cs
- XmlNamespaceMapping.cs
- IsolatedStoragePermission.cs
- AppDomain.cs
- HttpMethodAttribute.cs
- XPathDocument.cs
- SectionUpdates.cs
- DataGridViewTextBoxColumn.cs
- ConnectionManagementSection.cs
- SqlXmlStorage.cs
- PersonalizationState.cs
- ExtensionQuery.cs
- XmlSchemaValidationException.cs
- CompilerState.cs
- HierarchicalDataBoundControlAdapter.cs
- SoapExtensionReflector.cs
- Serializer.cs
- WebPartZone.cs
- DrawingImage.cs
- TraceSource.cs
- WindowsSlider.cs
- IisTraceWebEventProvider.cs