Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PeerCollaborationPermission.cs
- SecurityTokenSerializer.cs
- GenericTypeParameterBuilder.cs
- DiscriminatorMap.cs
- ApplicationSecurityInfo.cs
- Storyboard.cs
- BufferedWebEventProvider.cs
- StateDesigner.CommentLayoutGlyph.cs
- WebPartUserCapability.cs
- ComEventsHelper.cs
- ValidationErrorEventArgs.cs
- DashStyle.cs
- DataGridItem.cs
- PropertyInfoSet.cs
- BulletChrome.cs
- DynamicMethod.cs
- RegexRunnerFactory.cs
- Int32CollectionValueSerializer.cs
- SiteMapSection.cs
- WsatConfiguration.cs
- Clock.cs
- SQLCharsStorage.cs
- TrustSection.cs
- baseshape.cs
- WizardStepBase.cs
- ChangePassword.cs
- CalendarKeyboardHelper.cs
- PointLight.cs
- EmptyReadOnlyDictionaryInternal.cs
- RegexMatchCollection.cs
- CssStyleCollection.cs
- StorageSetMapping.cs
- CookieHandler.cs
- smtppermission.cs
- RuntimeTrackingProfile.cs
- BitmapEffect.cs
- TextMetrics.cs
- DataColumnPropertyDescriptor.cs
- TraceFilter.cs
- TypeDependencyAttribute.cs
- RegexWorker.cs
- SecurityKeyUsage.cs
- BuildDependencySet.cs
- Parser.cs
- DocumentViewer.cs
- CompilationPass2Task.cs
- FlowSwitchDesigner.xaml.cs
- XmlWriterTraceListener.cs
- WebPartsPersonalization.cs
- EventDriven.cs
- PrefixQName.cs
- TransformerConfigurationWizardBase.cs
- CompModSwitches.cs
- XPathDescendantIterator.cs
- Stylus.cs
- PrinterUnitConvert.cs
- WorkflowPersistenceService.cs
- NotifyInputEventArgs.cs
- Point4D.cs
- StreamGeometryContext.cs
- HttpModuleAction.cs
- SymLanguageType.cs
- Rect3DValueSerializer.cs
- HttpWriter.cs
- TextRangeEditLists.cs
- WmlCalendarAdapter.cs
- ToolStripItemImageRenderEventArgs.cs
- AncillaryOps.cs
- SchemaElement.cs
- oledbmetadatacolumnnames.cs
- PreservationFileReader.cs
- XPathNavigatorKeyComparer.cs
- DocumentAutomationPeer.cs
- WebPartMenuStyle.cs
- TabletDeviceInfo.cs
- UIElement3DAutomationPeer.cs
- NavigationPropertySingletonExpression.cs
- SelectionBorderGlyph.cs
- ObjectFullSpanRewriter.cs
- SerialStream.cs
- FastEncoderWindow.cs
- ProxyHwnd.cs
- FixedTextPointer.cs
- MenuTracker.cs
- QueryOutputWriterV1.cs
- Triplet.cs
- DataControlFieldCell.cs
- AutomationElementIdentifiers.cs
- InOutArgumentConverter.cs
- SqlDataAdapter.cs
- HeaderedContentControl.cs
- BaseCAMarshaler.cs
- XmlJsonReader.cs
- TextProviderWrapper.cs
- ClientConfigPaths.cs
- NameValueSectionHandler.cs
- ClientProxyGenerator.cs
- TransactionState.cs
- TextServicesPropertyRanges.cs
- InputLanguageSource.cs