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
- Italic.cs
- SlotInfo.cs
- ExternalCalls.cs
- SubqueryRules.cs
- XappLauncher.cs
- TextDpi.cs
- BStrWrapper.cs
- ProviderSettings.cs
- HttpHandlerActionCollection.cs
- TreeWalker.cs
- DynamicObjectAccessor.cs
- BitFlagsGenerator.cs
- XPathDocumentNavigator.cs
- StylusButtonCollection.cs
- SafeCryptoHandles.cs
- EventSourceCreationData.cs
- UpdateTranslator.cs
- DecoderBestFitFallback.cs
- ViewManager.cs
- BulletChrome.cs
- DBConnection.cs
- _AutoWebProxyScriptEngine.cs
- ValueQuery.cs
- ProfilePropertySettingsCollection.cs
- FloatUtil.cs
- LinqDataSourceContextData.cs
- DatagridviewDisplayedBandsData.cs
- UInt64Converter.cs
- SecondaryIndexList.cs
- VerticalAlignConverter.cs
- DispatchWrapper.cs
- OverflowException.cs
- XmlWriter.cs
- FrugalMap.cs
- EventHandlingScope.cs
- WebProxyScriptElement.cs
- DataTableNameHandler.cs
- Misc.cs
- DispatchChannelSink.cs
- Configuration.cs
- RangeValidator.cs
- BuilderInfo.cs
- Pen.cs
- PathSegment.cs
- Material.cs
- DynamicResourceExtensionConverter.cs
- DataGridCellClipboardEventArgs.cs
- DesignTimeHTMLTextWriter.cs
- GACMembershipCondition.cs
- PowerStatus.cs
- RelatedPropertyManager.cs
- InfoCardXmlSerializer.cs
- SerializableAttribute.cs
- _AuthenticationState.cs
- PageStatePersister.cs
- SQLBytes.cs
- FrameAutomationPeer.cs
- ToolStripControlHost.cs
- OracleSqlParser.cs
- HotSpotCollection.cs
- OrderedDictionary.cs
- AppDomainAttributes.cs
- PrinterResolution.cs
- ProfileInfo.cs
- ColumnMapVisitor.cs
- ImageListStreamer.cs
- ConfigurationStrings.cs
- LinearQuaternionKeyFrame.cs
- DataGridViewCellCancelEventArgs.cs
- ActivityExecutorOperation.cs
- PeerService.cs
- AutomationAttributeInfo.cs
- CommonDialog.cs
- AlgoModule.cs
- HebrewNumber.cs
- ImageIndexConverter.cs
- securitycriticaldataClass.cs
- Pkcs7Recipient.cs
- PersistNameAttribute.cs
- WindowInteropHelper.cs
- StorageMappingItemCollection.cs
- ComPlusTraceRecord.cs
- XmlSchemaRedefine.cs
- SystemPens.cs
- ImageMapEventArgs.cs
- WindowsListViewItemCheckBox.cs
- CapabilitiesAssignment.cs
- PixelFormatConverter.cs
- EndOfStreamException.cs
- SqlEnums.cs
- DeclarativeConditionsCollection.cs
- NameTable.cs
- GeometryModel3D.cs
- TextPointer.cs
- Vector3DValueSerializer.cs
- AssemblyBuilder.cs
- CompatibleIComparer.cs
- WithStatement.cs
- SerTrace.cs
- DbSource.cs