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
- Animatable.cs
- RangeContentEnumerator.cs
- Msec.cs
- Pair.cs
- BitmapEffectRenderDataResource.cs
- MachinePropertyVariants.cs
- SelectionBorderGlyph.cs
- DataGridLinkButton.cs
- CellParagraph.cs
- LogEntrySerializer.cs
- SimpleTypeResolver.cs
- VectorAnimationUsingKeyFrames.cs
- DBConcurrencyException.cs
- RelationshipManager.cs
- TraceContextRecord.cs
- CompiledQueryCacheEntry.cs
- SystemWebCachingSectionGroup.cs
- SelectionEditingBehavior.cs
- DbProviderManifest.cs
- DataGridViewCheckBoxCell.cs
- EqualityComparer.cs
- ValueConversionAttribute.cs
- WebBrowserHelper.cs
- QueuePathEditor.cs
- dsa.cs
- PropertyGroupDescription.cs
- SHA256.cs
- ServiceModelDictionary.cs
- DesignBindingPicker.cs
- Range.cs
- SubtreeProcessor.cs
- PolicyAssertionCollection.cs
- Console.cs
- MergeFailedEvent.cs
- TcpHostedTransportConfiguration.cs
- Brush.cs
- StickyNoteContentControl.cs
- CollectionDataContractAttribute.cs
- ipaddressinformationcollection.cs
- ProbeMatchesApril2005.cs
- BufferBuilder.cs
- ProxyManager.cs
- DataGridItemAutomationPeer.cs
- Font.cs
- SchemaImporterExtensionsSection.cs
- EmptyImpersonationContext.cs
- WebPartConnectionsCloseVerb.cs
- ApplicationInfo.cs
- SaveFileDialogDesigner.cs
- TextSerializer.cs
- LookupBindingPropertiesAttribute.cs
- SqlRetyper.cs
- CompressStream.cs
- SpAudioStreamWrapper.cs
- CodeGotoStatement.cs
- XmlSchemaSimpleTypeUnion.cs
- CodeMemberField.cs
- SafeEventLogWriteHandle.cs
- DesignerTextWriter.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- Win32Native.cs
- NumberFormatInfo.cs
- RowSpanVector.cs
- CodePropertyReferenceExpression.cs
- TemplateBamlTreeBuilder.cs
- DeflateInput.cs
- WindowsRegion.cs
- UrlPath.cs
- PhysicalAddress.cs
- TrackBar.cs
- BitmapDownload.cs
- HashMembershipCondition.cs
- ReadOnlyDataSourceView.cs
- ListComponentEditor.cs
- Underline.cs
- Baml2006Reader.cs
- LayoutEngine.cs
- TypeDescriptor.cs
- ListViewGroupConverter.cs
- ToolStripItemTextRenderEventArgs.cs
- DebugTraceHelper.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- ApplyTemplatesAction.cs
- AssociationSetMetadata.cs
- GCHandleCookieTable.cs
- InheritablePropertyChangeInfo.cs
- ToolStripOverflow.cs
- FlowDocumentFormatter.cs
- DynamicObjectAccessor.cs
- ListView.cs
- CircleHotSpot.cs
- OdbcConnectionOpen.cs
- InvalidCastException.cs
- DataGridViewRowHeaderCell.cs
- CFStream.cs
- AnnotationAdorner.cs
- SoundPlayerAction.cs
- ConfigXmlDocument.cs
- UnmanagedMemoryStreamWrapper.cs
- PinnedBufferMemoryStream.cs