Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Configuration / AuthenticationModuleElementCollection.cs / 1305376 / AuthenticationModuleElementCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.Configuration { using System; using System.Configuration; using System.Security.Permissions; [ConfigurationCollection(typeof(AuthenticationModuleElement))] public sealed class AuthenticationModuleElementCollection : ConfigurationElementCollection { public AuthenticationModuleElementCollection() { } public AuthenticationModuleElement this[int index] { get { return (AuthenticationModuleElement)BaseGet(index); } set { if (BaseGet(index) != null) { BaseRemoveAt(index); } BaseAdd(index,value); } } public new AuthenticationModuleElement this[string name] { get { return (AuthenticationModuleElement)BaseGet(name); } set { if (BaseGet(name) != null) { BaseRemove(name); } BaseAdd(value); } } public void Add(AuthenticationModuleElement element) { BaseAdd(element); } public void Clear() { BaseClear(); } protected override ConfigurationElement CreateNewElement() { return new AuthenticationModuleElement(); } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) throw new ArgumentNullException("element"); return ((AuthenticationModuleElement)element).Key; } public int IndexOf(AuthenticationModuleElement element) { return BaseIndexOf(element); } public void Remove(AuthenticationModuleElement element) { if (element == null) throw new ArgumentNullException("element"); BaseRemove(element.Key); } public void Remove(string name) { BaseRemove(name); } public void RemoveAt(int index) { BaseRemoveAt(index); } } } // 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
- XmlSchemaIdentityConstraint.cs
- SQlBooleanStorage.cs
- RunClient.cs
- DoubleAnimation.cs
- SoapTypeAttribute.cs
- MSHTMLHost.cs
- Matrix3DConverter.cs
- SHA1Managed.cs
- baseaxisquery.cs
- Nodes.cs
- ConnectionProviderAttribute.cs
- CodeParameterDeclarationExpression.cs
- XmlDataSourceNodeDescriptor.cs
- AssemblyInfo.cs
- BitmapFrame.cs
- Compiler.cs
- FormsAuthenticationTicket.cs
- HandledMouseEvent.cs
- HotSpot.cs
- HtmlShim.cs
- DataSourceCacheDurationConverter.cs
- LayoutSettings.cs
- ClientTargetSection.cs
- userdatakeys.cs
- datacache.cs
- ExtenderProviderService.cs
- DoubleUtil.cs
- ExitEventArgs.cs
- TextRunProperties.cs
- ListViewGroupItemCollection.cs
- TextCompositionEventArgs.cs
- CircleHotSpot.cs
- mediaclock.cs
- ImageMap.cs
- RtfFormatStack.cs
- ObjectNavigationPropertyMapping.cs
- DataSetSchema.cs
- TextTreePropertyUndoUnit.cs
- WebPartAuthorizationEventArgs.cs
- DataSysAttribute.cs
- PrintingPermissionAttribute.cs
- UserControl.cs
- FillErrorEventArgs.cs
- ListenerConnectionDemuxer.cs
- MobileListItem.cs
- ProvidersHelper.cs
- DisplayMemberTemplateSelector.cs
- RelationshipFixer.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- NegotiateStream.cs
- GridItem.cs
- SessionStateItemCollection.cs
- MessageSmuggler.cs
- ConnectionPoolManager.cs
- ResourcePermissionBaseEntry.cs
- EntitySetBaseCollection.cs
- PictureBoxDesigner.cs
- TextTreeNode.cs
- Config.cs
- SpnegoTokenProvider.cs
- KeyProperty.cs
- RenderOptions.cs
- IntSecurity.cs
- Main.cs
- SoapEnumAttribute.cs
- WbmpConverter.cs
- BackgroundWorker.cs
- FrameworkContentElement.cs
- Pens.cs
- NCryptNative.cs
- EditingMode.cs
- EncoderReplacementFallback.cs
- DirtyTextRange.cs
- Typeface.cs
- XmlSchemaValidator.cs
- DbgUtil.cs
- CalloutQueueItem.cs
- DbProviderFactory.cs
- remotingproxy.cs
- NativeRightsManagementAPIsStructures.cs
- TypeElement.cs
- DataServiceProviderMethods.cs
- AsymmetricSignatureDeformatter.cs
- CustomAttributeBuilder.cs
- WorkflowInstanceContextProvider.cs
- XmlDocumentType.cs
- XhtmlBasicValidatorAdapter.cs
- VisemeEventArgs.cs
- Lease.cs
- LocatorPartList.cs
- SoundPlayerAction.cs
- Block.cs
- BorderSidesEditor.cs
- SingleTagSectionHandler.cs
- CalendarDay.cs
- DbConnectionFactory.cs
- MailBnfHelper.cs
- CookieParameter.cs
- UnsupportedPolicyOptionsException.cs
- HttpStreamXmlDictionaryWriter.cs