Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / AssemblyCollection.cs / 1305376 / AssemblyCollection.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.Web.Compilation; using System.Reflection; using System.Web.Hosting; using System.Web.UI; using System.CodeDom.Compiler; using System.Web.Util; using System.ComponentModel; using System.Security.Permissions; [ConfigurationCollection(typeof(AssemblyInfo))] public sealed class AssemblyCollection : ConfigurationElementCollection { private static ConfigurationPropertyCollection _properties; static AssemblyCollection() { // Property initialization _properties = new ConfigurationPropertyCollection(); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } public AssemblyInfo this[int index] { get { return (AssemblyInfo)BaseGet(index); } set { if (BaseGet(index) != null) { BaseRemoveAt(index); } BaseAdd(index, value); } } public new AssemblyInfo this[String assemblyName] { get { return (AssemblyInfo)BaseGet(assemblyName); } } public void Add(AssemblyInfo assemblyInformation) { BaseAdd(assemblyInformation); } public void Remove(String key) { BaseRemove(key); } public void RemoveAt(int index) { BaseRemoveAt(index); } protected override ConfigurationElement CreateNewElement() { return new AssemblyInfo(); } protected override Object GetElementKey(ConfigurationElement element) { return ((AssemblyInfo)element).Assembly; } public void Clear() { BaseClear(); } internal bool IsRemoved(string key) { return BaseIsRemoved(key); } } } // 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
- ArgumentsParser.cs
- HealthMonitoringSectionHelper.cs
- XmlAttributes.cs
- IndexedWhereQueryOperator.cs
- RemoveStoryboard.cs
- InternalMappingException.cs
- IItemProperties.cs
- controlskin.cs
- DesignerRegionMouseEventArgs.cs
- DataContractSerializerOperationBehavior.cs
- ObjectConverter.cs
- DataSourceProvider.cs
- COM2PropertyPageUITypeConverter.cs
- CngAlgorithmGroup.cs
- MobileContainerDesigner.cs
- PropertyItemInternal.cs
- DoubleStorage.cs
- TextTreeUndo.cs
- ControllableStoryboardAction.cs
- Brush.cs
- LinqDataSourceSelectEventArgs.cs
- HtmlTableRowCollection.cs
- DbException.cs
- QuotedPrintableStream.cs
- StructuredProperty.cs
- ConnectionManagementElement.cs
- TransformCollection.cs
- AlignmentYValidation.cs
- NativeMethods.cs
- ExpanderAutomationPeer.cs
- VectorAnimation.cs
- MembershipValidatePasswordEventArgs.cs
- TraceData.cs
- Model3D.cs
- TextElement.cs
- WebPartMenu.cs
- TransformerInfoCollection.cs
- ElementHost.cs
- WebPartConnectVerb.cs
- InstanceHandleReference.cs
- BindingValueChangedEventArgs.cs
- LeftCellWrapper.cs
- MobileControlsSectionHelper.cs
- Canvas.cs
- IsolatedStorageFile.cs
- RequiredFieldValidator.cs
- IndexedString.cs
- SafeFileMapViewHandle.cs
- Base64Decoder.cs
- SendMailErrorEventArgs.cs
- CodeSpit.cs
- RC2CryptoServiceProvider.cs
- PackageDigitalSignature.cs
- RelatedView.cs
- CLRBindingWorker.cs
- UdpReplyToBehavior.cs
- CompositeControl.cs
- BooleanKeyFrameCollection.cs
- SoapIgnoreAttribute.cs
- LocalizationCodeDomSerializer.cs
- FormsAuthenticationUser.cs
- ResourceExpressionEditor.cs
- BindValidationContext.cs
- ColorComboBox.cs
- EmptyEnumerator.cs
- AdapterDictionary.cs
- FlatButtonAppearance.cs
- HttpResponseInternalWrapper.cs
- ForeignConstraint.cs
- ElementsClipboardData.cs
- SafeNativeMethods.cs
- UncommonField.cs
- TreeBuilderBamlTranslator.cs
- SqlPersonalizationProvider.cs
- HtmlInputText.cs
- EntityDataSourceStatementEditor.cs
- EventHandlersStore.cs
- AttachedPropertiesService.cs
- Size.cs
- DesignerTransactionCloseEvent.cs
- DataGridViewDataConnection.cs
- IriParsingElement.cs
- ReadOnlyAttribute.cs
- DataGridTablesFactory.cs
- LongPath.cs
- DesignTimeHTMLTextWriter.cs
- FigureHelper.cs
- UnionExpr.cs
- EventSinkHelperWriter.cs
- TreeNodeStyleCollectionEditor.cs
- QualifiedCellIdBoolean.cs
- GroupByExpressionRewriter.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ExtensionWindowResizeGrip.cs
- PatternMatcher.cs
- diagnosticsswitches.cs
- OdbcConnectionHandle.cs
- recordstate.cs
- DisplayMemberTemplateSelector.cs
- AppSettingsReader.cs