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
- GroupBoxAutomationPeer.cs
- GridViewSortEventArgs.cs
- BufferedMessageData.cs
- Pair.cs
- CancellationTokenRegistration.cs
- PerfService.cs
- SqlRetyper.cs
- WebPartZone.cs
- ZoneIdentityPermission.cs
- HttpPostedFile.cs
- Figure.cs
- MonitorWrapper.cs
- DbConnectionPoolIdentity.cs
- TrackingCondition.cs
- validationstate.cs
- TransactionFlowProperty.cs
- WindowsStreamSecurityUpgradeProvider.cs
- HtmlUtf8RawTextWriter.cs
- Switch.cs
- BookmarkScopeManager.cs
- Point3D.cs
- RequestCacheManager.cs
- ExpressionList.cs
- RadialGradientBrush.cs
- ButtonField.cs
- KeyPullup.cs
- SmtpNetworkElement.cs
- ComNativeDescriptor.cs
- QueryCursorEventArgs.cs
- DateTimeValueSerializer.cs
- Slider.cs
- BinaryWriter.cs
- ActiveXHost.cs
- ValidationError.cs
- ClientSettingsProvider.cs
- Function.cs
- SiteMapDataSource.cs
- RuleValidation.cs
- Evaluator.cs
- Application.cs
- TypeReference.cs
- hebrewshape.cs
- FocusWithinProperty.cs
- FilterQueryOptionExpression.cs
- BrowserCapabilitiesFactoryBase.cs
- TransformPatternIdentifiers.cs
- ExpandoObject.cs
- TreeNodeBinding.cs
- WsatConfiguration.cs
- ClickablePoint.cs
- DecimalConverter.cs
- ImageDrawing.cs
- RankException.cs
- GuidTagList.cs
- HttpResponseHeader.cs
- MeasureItemEvent.cs
- ExcludePathInfo.cs
- NotifyInputEventArgs.cs
- RegionData.cs
- NavigatorOutput.cs
- AccessibleObject.cs
- ObjectSpanRewriter.cs
- NameValueConfigurationCollection.cs
- RoutedEventHandlerInfo.cs
- DataGridViewButtonCell.cs
- TriggerCollection.cs
- ClipboardProcessor.cs
- HtmlToClrEventProxy.cs
- WebResponse.cs
- DescriptionAttribute.cs
- ACL.cs
- Command.cs
- FormsAuthenticationTicket.cs
- AsyncPostBackTrigger.cs
- ThreadStaticAttribute.cs
- DbgCompiler.cs
- CompressionTracing.cs
- LicenseProviderAttribute.cs
- WSHttpSecurity.cs
- ObjectSecurity.cs
- WindowsListView.cs
- DataGridColumnCollection.cs
- RuntimeEnvironment.cs
- CodeDomExtensionMethods.cs
- CodeCommentStatementCollection.cs
- PropertyEmitter.cs
- UnhandledExceptionEventArgs.cs
- OleDbInfoMessageEvent.cs
- WebPartConnectionsEventArgs.cs
- TabItemAutomationPeer.cs
- TransformerInfoCollection.cs
- AlphaSortedEnumConverter.cs
- KeyGesture.cs
- PopupRootAutomationPeer.cs
- FontFaceLayoutInfo.cs
- SelectionRange.cs
- RelationshipConverter.cs
- Pair.cs
- Inflater.cs
- ImmutableObjectAttribute.cs