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
- XmlDictionaryWriter.cs
- CodeMemberField.cs
- ChangeInterceptorAttribute.cs
- PathSegmentCollection.cs
- AddInPipelineAttributes.cs
- Ref.cs
- SimpleApplicationHost.cs
- DoubleCollectionConverter.cs
- EdmTypeAttribute.cs
- _DomainName.cs
- ProfileGroupSettingsCollection.cs
- BaseCollection.cs
- nulltextcontainer.cs
- StyleHelper.cs
- GridViewPageEventArgs.cs
- COSERVERINFO.cs
- PageContentAsyncResult.cs
- ContainerActivationHelper.cs
- TextChange.cs
- CollectionsUtil.cs
- XPathCompileException.cs
- DataRowCollection.cs
- PhysicalOps.cs
- WindowsFormsSectionHandler.cs
- RegistrationServices.cs
- MultiPageTextView.cs
- PresentationAppDomainManager.cs
- ObjectDataSource.cs
- BufferedGraphicsManager.cs
- CloudCollection.cs
- ProxyFragment.cs
- NullRuntimeConfig.cs
- Package.cs
- Empty.cs
- Pointer.cs
- EnumValidator.cs
- ManagedIStream.cs
- XMLDiffLoader.cs
- Rect.cs
- AdCreatedEventArgs.cs
- CheckBoxRenderer.cs
- Lookup.cs
- InputLanguageCollection.cs
- OletxDependentTransaction.cs
- NestedContainer.cs
- DataGridSortCommandEventArgs.cs
- InvalidCastException.cs
- StructureChangedEventArgs.cs
- NamespaceCollection.cs
- CompatibleIComparer.cs
- DocumentsTrace.cs
- XsdValidatingReader.cs
- TimeoutConverter.cs
- ProcessModelInfo.cs
- SendDesigner.xaml.cs
- SqlDataSourceCache.cs
- GridToolTip.cs
- ItemCheckedEvent.cs
- HMACMD5.cs
- PropertyChangedEventArgs.cs
- UInt16Storage.cs
- DesignerVerb.cs
- HtmlLabelAdapter.cs
- ListSourceHelper.cs
- Geometry.cs
- TransactionBridgeSection.cs
- WriterOutput.cs
- CodeSubDirectoriesCollection.cs
- ConstraintStruct.cs
- Int32KeyFrameCollection.cs
- DetailsViewAutoFormat.cs
- ZipIOExtraFieldElement.cs
- CheckBoxList.cs
- DiscoveryVersion.cs
- MailMessageEventArgs.cs
- DateTimeFormat.cs
- DictionarySurrogate.cs
- DocumentXPathNavigator.cs
- SkewTransform.cs
- BinaryVersion.cs
- TableColumn.cs
- NumberAction.cs
- EntityDesignerUtils.cs
- NavigationHelper.cs
- ArgumentOutOfRangeException.cs
- IIS7UserPrincipal.cs
- SplineQuaternionKeyFrame.cs
- HtmlTernaryTree.cs
- RectKeyFrameCollection.cs
- SHA1CryptoServiceProvider.cs
- MD5CryptoServiceProvider.cs
- EncryptedReference.cs
- KeyNameIdentifierClause.cs
- ImageFormatConverter.cs
- Brushes.cs
- TextBlockAutomationPeer.cs
- WinCategoryAttribute.cs
- PropertyBuilder.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DragStartedEventArgs.cs