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
- FullTrustAssembliesSection.cs
- XmlElement.cs
- DocumentsTrace.cs
- TreeView.cs
- CharEnumerator.cs
- InstanceHandleReference.cs
- ObjectDataSourceChooseTypePanel.cs
- CompilationSection.cs
- WebReference.cs
- CultureInfoConverter.cs
- LineInfo.cs
- TextElementEnumerator.cs
- GeneralTransform3DGroup.cs
- ButtonBase.cs
- ValidationHelpers.cs
- PageParser.cs
- FactoryMaker.cs
- BaseTemplateParser.cs
- Trigger.cs
- FilterQuery.cs
- TabControlCancelEvent.cs
- SspiWrapper.cs
- ReferentialConstraintRoleElement.cs
- RequestQueue.cs
- PropertyTab.cs
- ColorConvertedBitmapExtension.cs
- DateTimeUtil.cs
- DebugInfoGenerator.cs
- Compiler.cs
- InsufficientMemoryException.cs
- SessionStateModule.cs
- JsonServiceDocumentSerializer.cs
- PrintController.cs
- DebuggerService.cs
- EntityParameter.cs
- MachineKeyConverter.cs
- ExternalException.cs
- Pen.cs
- BinaryConverter.cs
- IconEditor.cs
- AccessKeyManager.cs
- XAMLParseException.cs
- X509SecurityTokenAuthenticator.cs
- FontClient.cs
- ChangePasswordDesigner.cs
- CompatibleIComparer.cs
- NameScopePropertyAttribute.cs
- ImageList.cs
- EventMemberCodeDomSerializer.cs
- SqlRecordBuffer.cs
- BooleanAnimationUsingKeyFrames.cs
- BindStream.cs
- SharedStatics.cs
- DoubleKeyFrameCollection.cs
- FontWeightConverter.cs
- ListViewCancelEventArgs.cs
- DataServiceHost.cs
- EncodingInfo.cs
- ListSourceHelper.cs
- SqlCachedBuffer.cs
- DSASignatureFormatter.cs
- ServerValidateEventArgs.cs
- Missing.cs
- ShaderRenderModeValidation.cs
- _ConnectOverlappedAsyncResult.cs
- WebPartTransformerCollection.cs
- HtmlInputFile.cs
- DelayedRegex.cs
- DataSourceCache.cs
- InvalidComObjectException.cs
- Oid.cs
- LocationReferenceEnvironment.cs
- CodeDomConfigurationHandler.cs
- SmtpTransport.cs
- OperationInfo.cs
- ObjectQueryState.cs
- ClientScriptItem.cs
- SpellerError.cs
- fixedPageContentExtractor.cs
- DPTypeDescriptorContext.cs
- RepeaterItemCollection.cs
- WindowsAuthenticationEventArgs.cs
- Point3D.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- PropertyBuilder.cs
- PreservationFileReader.cs
- SqlDataReader.cs
- LayoutExceptionEventArgs.cs
- followingquery.cs
- TranslateTransform3D.cs
- ChangeInterceptorAttribute.cs
- SizeChangedInfo.cs
- BaseParser.cs
- GridEntryCollection.cs
- CommonServiceBehaviorElement.cs
- RadioButton.cs
- httpstaticobjectscollection.cs
- FileDialog.cs
- DrawingDrawingContext.cs
- TextWriterTraceListener.cs