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
- DetailsViewInsertedEventArgs.cs
- CompensatableTransactionScopeActivityDesigner.cs
- ParentUndoUnit.cs
- DataSourceCacheDurationConverter.cs
- DependencyStoreSurrogate.cs
- WorkflowDesigner.cs
- HtmlInputImage.cs
- GuidelineSet.cs
- PrimaryKeyTypeConverter.cs
- BitConverter.cs
- PersonalizationStateInfo.cs
- Argument.cs
- OledbConnectionStringbuilder.cs
- Graphics.cs
- WebHttpSecurity.cs
- PersonalizationDictionary.cs
- TextLineResult.cs
- FlowDocumentView.cs
- BinaryObjectInfo.cs
- NameSpaceEvent.cs
- ProjectionCamera.cs
- StackOverflowException.cs
- XmlSerializerNamespaces.cs
- CompilerTypeWithParams.cs
- GenerateScriptTypeAttribute.cs
- KeyValueConfigurationCollection.cs
- WebInvokeAttribute.cs
- NewArrayExpression.cs
- EtwTrace.cs
- StylusPlugInCollection.cs
- CursorConverter.cs
- CanExecuteRoutedEventArgs.cs
- StateManager.cs
- ValidatedControlConverter.cs
- DataGridRow.cs
- CallbackValidatorAttribute.cs
- InputScopeAttribute.cs
- DateTimeSerializationSection.cs
- DataServiceRequestOfT.cs
- AdapterDictionary.cs
- WebBrowserDesigner.cs
- CellParaClient.cs
- ToolStripTextBox.cs
- EnvironmentPermission.cs
- ObjectDataSourceFilteringEventArgs.cs
- MtomMessageEncoder.cs
- PopupEventArgs.cs
- ToolStripComboBox.cs
- ETagAttribute.cs
- CodeTypeReferenceExpression.cs
- TemplateBindingExtensionConverter.cs
- SmtpNetworkElement.cs
- XmlSchema.cs
- ResourceDescriptionAttribute.cs
- XmlNodeComparer.cs
- DomainConstraint.cs
- QilReference.cs
- AutomationTextAttribute.cs
- WindowsNonControl.cs
- MatrixValueSerializer.cs
- DictionaryItemsCollection.cs
- XmlMapping.cs
- TypeExtension.cs
- OptimalTextSource.cs
- OleDbPermission.cs
- NamedElement.cs
- SmtpMail.cs
- ScriptResourceAttribute.cs
- HtmlForm.cs
- CodeCatchClause.cs
- Page.cs
- ActivitiesCollection.cs
- SoapExtensionImporter.cs
- EntityKeyElement.cs
- SafeEventLogWriteHandle.cs
- ModelUIElement3D.cs
- BasicCommandTreeVisitor.cs
- TagElement.cs
- Message.cs
- EntityCommandDefinition.cs
- XhtmlBasicControlAdapter.cs
- ValueTypeFixupInfo.cs
- CreateUserWizardStep.cs
- FlowDocumentPaginator.cs
- Rules.cs
- ForEachAction.cs
- XamlWriter.cs
- HttpServerChannel.cs
- DataRelation.cs
- SiteMembershipCondition.cs
- DictionaryKeyPropertyAttribute.cs
- AdapterDictionary.cs
- Console.cs
- RayHitTestParameters.cs
- SHA1.cs
- ModuleBuilderData.cs
- RoleManagerModule.cs
- RequiredAttributeAttribute.cs
- NameSpaceEvent.cs
- XmlName.cs