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
- PropertyGridView.cs
- ProfileParameter.cs
- OdbcError.cs
- PreProcessor.cs
- EpmSyndicationContentDeSerializer.cs
- BlurEffect.cs
- FieldAccessException.cs
- DatatypeImplementation.cs
- RoutedEventHandlerInfo.cs
- GridViewRowCollection.cs
- AtomMaterializerLog.cs
- FontInfo.cs
- MouseBinding.cs
- DocumentXmlWriter.cs
- documentsequencetextpointer.cs
- GC.cs
- DocumentViewerHelper.cs
- TypeInfo.cs
- FormsAuthenticationModule.cs
- EntityContainer.cs
- EntityModelBuildProvider.cs
- StaticFileHandler.cs
- OdbcPermission.cs
- DbConnectionFactory.cs
- TemplateControlBuildProvider.cs
- ThreadStaticAttribute.cs
- CallbackHandler.cs
- RowsCopiedEventArgs.cs
- StringHandle.cs
- WebBrowserUriTypeConverter.cs
- SrgsSemanticInterpretationTag.cs
- OrderedHashRepartitionEnumerator.cs
- TextDecorations.cs
- QueryOperationResponseOfT.cs
- __ComObject.cs
- JsonDataContract.cs
- RouteParameter.cs
- FtpWebRequest.cs
- DataServiceProviderWrapper.cs
- DescendantQuery.cs
- JavascriptCallbackResponseProperty.cs
- ApplicationFileCodeDomTreeGenerator.cs
- storepermissionattribute.cs
- FilteredXmlReader.cs
- ServiceDebugElement.cs
- PasswordBox.cs
- AuthenticationConfig.cs
- ArgumentsParser.cs
- PasswordPropertyTextAttribute.cs
- QilReplaceVisitor.cs
- Vector.cs
- DiagnosticTrace.cs
- IDQuery.cs
- DayRenderEvent.cs
- TextElementEditingBehaviorAttribute.cs
- ControlValuePropertyAttribute.cs
- ByeMessageApril2005.cs
- Mutex.cs
- PropertyInformation.cs
- DataGridViewCell.cs
- Duration.cs
- TypefaceCollection.cs
- EntityConnectionStringBuilder.cs
- Hyperlink.cs
- Image.cs
- ServiceModelExtensionElement.cs
- FormViewModeEventArgs.cs
- ValidationErrorEventArgs.cs
- OleDbDataAdapter.cs
- HttpFileCollectionWrapper.cs
- WorkflowView.cs
- DataGridViewRowPostPaintEventArgs.cs
- PanelStyle.cs
- OpenFileDialog.cs
- CollectionView.cs
- CodeTypeConstructor.cs
- FamilyMapCollection.cs
- XmlSchemaAnnotation.cs
- SafeArrayRankMismatchException.cs
- SqlDataSource.cs
- DecimalStorage.cs
- MaskDesignerDialog.cs
- EntityContainerEmitter.cs
- rsa.cs
- ResourceSetExpression.cs
- OleDbException.cs
- InfoCardRSACryptoProvider.cs
- SyncOperationState.cs
- InteropBitmapSource.cs
- DefaultEventAttribute.cs
- DiagnosticSection.cs
- VisualTreeHelper.cs
- CatalogPartCollection.cs
- ContextMenu.cs
- TailCallAnalyzer.cs
- TextTreeRootNode.cs
- DrawListViewSubItemEventArgs.cs
- ConfigXmlAttribute.cs
- XmlValidatingReaderImpl.cs
- VirtualPath.cs