Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / PartialTrustVisibleAssemblyCollection.cs / 1305376 / PartialTrustVisibleAssemblyCollection.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.Web.Hosting; using System.Web.UI; using System.CodeDom.Compiler; using System.Web.Util; using System.ComponentModel; using System.Security.Permissions; [ConfigurationCollection(typeof(String))] public sealed class PartialTrustVisibleAssemblyCollection : ConfigurationElementCollection { private static ConfigurationPropertyCollection _properties; static PartialTrustVisibleAssemblyCollection() { // Property initialization _properties = new ConfigurationPropertyCollection(); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } public PartialTrustVisibleAssembly this[int index] { get { return (PartialTrustVisibleAssembly)BaseGet(index); } set { if (BaseGet(index) != null) { BaseRemoveAt(index); } BaseAdd(index, value); } } public void Add(PartialTrustVisibleAssembly partialTrustVisibleAssembly) { BaseAdd(partialTrustVisibleAssembly); } public void Remove(String key) { BaseRemove(key); } public void RemoveAt(int index) { BaseRemoveAt(index); } protected override ConfigurationElement CreateNewElement() { return new PartialTrustVisibleAssembly(); } public void Clear() { BaseClear(); } protected override Object GetElementKey(ConfigurationElement element) { return ((PartialTrustVisibleAssembly)element).AssemblyName; } internal bool IsRemoved(string key) { return BaseIsRemoved(key); } } } // 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.Web.Compilation; 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(String))] public sealed class PartialTrustVisibleAssemblyCollection : ConfigurationElementCollection { private static ConfigurationPropertyCollection _properties; static PartialTrustVisibleAssemblyCollection() { // Property initialization _properties = new ConfigurationPropertyCollection(); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } public PartialTrustVisibleAssembly this[int index] { get { return (PartialTrustVisibleAssembly)BaseGet(index); } set { if (BaseGet(index) != null) { BaseRemoveAt(index); } BaseAdd(index, value); } } public void Add(PartialTrustVisibleAssembly partialTrustVisibleAssembly) { BaseAdd(partialTrustVisibleAssembly); } public void Remove(String key) { BaseRemove(key); } public void RemoveAt(int index) { BaseRemoveAt(index); } protected override ConfigurationElement CreateNewElement() { return new PartialTrustVisibleAssembly(); } public void Clear() { BaseClear(); } protected override Object GetElementKey(ConfigurationElement element) { return ((PartialTrustVisibleAssembly)element).AssemblyName; } 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
- FreezableCollection.cs
- FixedSOMTextRun.cs
- CodeTypeDeclaration.cs
- EmptyCollection.cs
- ClassHandlersStore.cs
- TransformPattern.cs
- SerializationSectionGroup.cs
- WebEventTraceProvider.cs
- XmlElementList.cs
- sqlstateclientmanager.cs
- ComEventsSink.cs
- XmlTextAttribute.cs
- CodeAccessPermission.cs
- SqlGenericUtil.cs
- ParentQuery.cs
- ToolboxItem.cs
- StyleCollectionEditor.cs
- DBNull.cs
- SqlSupersetValidator.cs
- AllowedAudienceUriElementCollection.cs
- SqlDuplicator.cs
- MultiBinding.cs
- ExpressionBuilderCollection.cs
- Type.cs
- ZipIOExtraField.cs
- GridSplitter.cs
- HttpModuleAction.cs
- WebFormDesignerActionService.cs
- PnrpPermission.cs
- DataGridDesigner.cs
- SettingsPropertyValueCollection.cs
- EntryWrittenEventArgs.cs
- GridViewRowCollection.cs
- _RequestCacheProtocol.cs
- PathFigureCollection.cs
- Dictionary.cs
- AffineTransform3D.cs
- WebPartConnectVerb.cs
- AnnotationResourceChangedEventArgs.cs
- SqlDataSourceConnectionPanel.cs
- documentation.cs
- Opcode.cs
- MimeTypeAttribute.cs
- ViewBox.cs
- OleDbFactory.cs
- TraceProvider.cs
- ZipIOFileItemStream.cs
- AuthenticateEventArgs.cs
- GeneralTransform3DTo2DTo3D.cs
- FixedDocument.cs
- MetadataReference.cs
- MarkupProperty.cs
- SqlCommandSet.cs
- WeakReference.cs
- CfgArc.cs
- MarkupWriter.cs
- RandomNumberGenerator.cs
- CodeGenerator.cs
- UriScheme.cs
- DtdParser.cs
- PolicyException.cs
- DateTimeFormat.cs
- TimeoutException.cs
- CategoryNameCollection.cs
- WSFederationHttpSecurityElement.cs
- SecureEnvironment.cs
- CreateUserWizard.cs
- LabelEditEvent.cs
- PrimitiveCodeDomSerializer.cs
- InvokeSchedule.cs
- Gdiplus.cs
- ToolStripPanelSelectionBehavior.cs
- _ProxyRegBlob.cs
- SchemaExporter.cs
- ClientRolePrincipal.cs
- RuntimeIdentifierPropertyAttribute.cs
- Brush.cs
- XsdCachingReader.cs
- TextBreakpoint.cs
- DataSourceXmlClassAttribute.cs
- ColumnMapTranslator.cs
- Column.cs
- SystemFonts.cs
- UdpDiscoveryEndpointProvider.cs
- Rfc2898DeriveBytes.cs
- OneOfTypeConst.cs
- EdmError.cs
- EntitySetRetriever.cs
- HierarchicalDataBoundControlAdapter.cs
- TableAdapterManagerMethodGenerator.cs
- WebPartConnectVerb.cs
- Transform.cs
- Int32Converter.cs
- WebEventCodes.cs
- MetadataExchangeClient.cs
- AddingNewEventArgs.cs
- NextPreviousPagerField.cs
- RouteParameter.cs
- ApplicationGesture.cs
- Random.cs