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
- RelationshipEndCollection.cs
- followingquery.cs
- EntityTypeEmitter.cs
- TableLayoutPanelCellPosition.cs
- HttpHandlerActionCollection.cs
- InvokeMethodActivityDesigner.cs
- CodeIdentifier.cs
- WSHttpSecurityElement.cs
- CustomAttributeFormatException.cs
- MessageProtectionOrder.cs
- DelegateInArgument.cs
- Vector3DAnimationUsingKeyFrames.cs
- HandlerFactoryWrapper.cs
- SingleBodyParameterMessageFormatter.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- LockRecoveryTask.cs
- NumberFunctions.cs
- ErrorEventArgs.cs
- Debug.cs
- SecUtil.cs
- AutomationAttributeInfo.cs
- FindCriteria11.cs
- UnsafeNativeMethods.cs
- DefaultShape.cs
- SqlClientFactory.cs
- Attributes.cs
- SuppressMessageAttribute.cs
- BitmapPalettes.cs
- IndexedWhereQueryOperator.cs
- StringArrayConverter.cs
- PersonalizationProviderHelper.cs
- Scanner.cs
- WindowsNonControl.cs
- UserNamePasswordValidator.cs
- JoinSymbol.cs
- DataServiceException.cs
- ReferenceService.cs
- GreaterThan.cs
- AutomationPropertyInfo.cs
- ServiceOperationListItemList.cs
- DispatcherHooks.cs
- UserUseLicenseDictionaryLoader.cs
- MessageHeaderAttribute.cs
- EdmToObjectNamespaceMap.cs
- TextEncodedRawTextWriter.cs
- WebResourceAttribute.cs
- NameValueConfigurationCollection.cs
- VariableQuery.cs
- DatagridviewDisplayedBandsData.cs
- Int16AnimationBase.cs
- EventMappingSettings.cs
- ByteAnimationUsingKeyFrames.cs
- DataGridViewHitTestInfo.cs
- SimpleMailWebEventProvider.cs
- XmlSchemaImport.cs
- CellPartitioner.cs
- WorkflowPrinting.cs
- WebConfigurationManager.cs
- AlphabeticalEnumConverter.cs
- ProxyElement.cs
- XPathExpr.cs
- SystemIPv6InterfaceProperties.cs
- File.cs
- SQLMoneyStorage.cs
- MetadataCache.cs
- XmlEntity.cs
- Command.cs
- PagePropertiesChangingEventArgs.cs
- IFlowDocumentViewer.cs
- ToolTipService.cs
- DataGridTextBox.cs
- DbParameterCollection.cs
- SubMenuStyle.cs
- TreeNodeEventArgs.cs
- ObjectToIdCache.cs
- BinaryKeyIdentifierClause.cs
- InitializingNewItemEventArgs.cs
- PrinterResolution.cs
- PrintPageEvent.cs
- OleDbReferenceCollection.cs
- SimpleMailWebEventProvider.cs
- Regex.cs
- Animatable.cs
- TextBreakpoint.cs
- WebContext.cs
- TypeUnloadedException.cs
- UpdateDelegates.Generated.cs
- SubMenuStyle.cs
- SessionStateSection.cs
- LocalBuilder.cs
- Stroke2.cs
- Button.cs
- CustomPopupPlacement.cs
- TextOptionsInternal.cs
- PasswordDeriveBytes.cs
- ArrayList.cs
- StringConverter.cs
- SupportsEventValidationAttribute.cs
- Array.cs
- CheckBoxList.cs