Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / FullTrustAssemblyCollection.cs / 1305376 / FullTrustAssemblyCollection.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 FullTrustAssemblyCollection : ConfigurationElementCollection { private static ConfigurationPropertyCollection _properties; static FullTrustAssemblyCollection() { // Property initialization _properties = new ConfigurationPropertyCollection(); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } public FullTrustAssembly this[int index] { get { return (FullTrustAssembly)BaseGet(index); } set { if (BaseGet(index) != null) { BaseRemoveAt(index); } BaseAdd(index, value); } } public void Add(FullTrustAssembly fullTrustAssembly) { BaseAdd(fullTrustAssembly); } public void Remove(String key) { BaseRemove(key); } public void RemoveAt(int index) { BaseRemoveAt(index); } protected override ConfigurationElement CreateNewElement() { return new FullTrustAssembly(); } public void Clear() { BaseClear(); } protected override Object GetElementKey(ConfigurationElement element) { return ((FullTrustAssembly)element).AssemblyName + ((FullTrustAssembly)element).Version; } 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
- LineServices.cs
- LookupBindingPropertiesAttribute.cs
- ComboBox.cs
- PowerModeChangedEventArgs.cs
- WebServiceFaultDesigner.cs
- SamlAuthorizationDecisionClaimResource.cs
- EntityDataSourceUtil.cs
- HwndKeyboardInputProvider.cs
- InternalsVisibleToAttribute.cs
- PassportAuthenticationEventArgs.cs
- ImageAutomationPeer.cs
- TransformConverter.cs
- Constants.cs
- PackagingUtilities.cs
- DirectionalLight.cs
- GC.cs
- ReflectionTypeLoadException.cs
- RoutingChannelExtension.cs
- EventDriven.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- Attributes.cs
- JapaneseLunisolarCalendar.cs
- XmlDataProvider.cs
- FixedBufferAttribute.cs
- GroupDescription.cs
- SaveWorkflowCommand.cs
- DispatchChannelSink.cs
- PopupEventArgs.cs
- AutomationPatternInfo.cs
- ExceptionRoutedEventArgs.cs
- MDIWindowDialog.cs
- SqlTopReducer.cs
- WorkItem.cs
- AsyncOperationManager.cs
- WindowsToolbarItemAsMenuItem.cs
- CfgSemanticTag.cs
- System.Data_BID.cs
- KeyGesture.cs
- ImagingCache.cs
- DataServiceResponse.cs
- ExceptionAggregator.cs
- SpecularMaterial.cs
- EdgeProfileValidation.cs
- HttpRuntimeSection.cs
- HtmlTableCell.cs
- ParameterBuilder.cs
- WebDescriptionAttribute.cs
- ToolStripComboBox.cs
- IDispatchConstantAttribute.cs
- ImportCatalogPart.cs
- ToolstripProfessionalRenderer.cs
- BinaryConverter.cs
- StringFunctions.cs
- StateBag.cs
- SqlInfoMessageEvent.cs
- DataGridViewTopRowAccessibleObject.cs
- HybridDictionary.cs
- EventLogger.cs
- VectorCollectionConverter.cs
- WebPartDisplayMode.cs
- Sql8ExpressionRewriter.cs
- SafeRegistryHandle.cs
- WizardPanel.cs
- BuildDependencySet.cs
- ReliableDuplexSessionChannel.cs
- MatrixAnimationUsingKeyFrames.cs
- BuildProvider.cs
- PersonalizationAdministration.cs
- ItemsControlAutomationPeer.cs
- DiagnosticTrace.cs
- Activity.cs
- CompilationUtil.cs
- XamlBuildTaskServices.cs
- SystemPens.cs
- ArrayExtension.cs
- WindowsSpinner.cs
- GridPattern.cs
- IDQuery.cs
- DeflateStreamAsyncResult.cs
- DbProviderServices.cs
- ResolveNextArgumentWorkItem.cs
- LogEntryDeserializer.cs
- AttributeTableBuilder.cs
- Label.cs
- TraceContextEventArgs.cs
- ComboBox.cs
- BulletChrome.cs
- Permission.cs
- ThicknessKeyFrameCollection.cs
- Glyph.cs
- EntityDesignerBuildProvider.cs
- XamlRtfConverter.cs
- TimeoutConverter.cs
- GridViewSortEventArgs.cs
- FormViewInsertEventArgs.cs
- XMLUtil.cs
- SafeCancelMibChangeNotify.cs
- KeyTime.cs
- PropertyNames.cs
- DocumentApplicationJournalEntry.cs