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
- OleDbParameter.cs
- EntityDataSource.cs
- DbConnectionPoolCounters.cs
- EventWaitHandle.cs
- XmlSchemaAnnotated.cs
- MouseGestureConverter.cs
- BitSet.cs
- DateRangeEvent.cs
- DataGridViewLinkColumn.cs
- KeyBinding.cs
- ReverseInheritProperty.cs
- PageThemeCodeDomTreeGenerator.cs
- ClrPerspective.cs
- TextDecorationCollectionConverter.cs
- PtsHost.cs
- PointAnimation.cs
- TreeNodeConverter.cs
- LinearGradientBrush.cs
- sqlinternaltransaction.cs
- TextEndOfLine.cs
- BrowserCapabilitiesFactory.cs
- XmlStringTable.cs
- OAVariantLib.cs
- Visual3DCollection.cs
- TextHidden.cs
- WebZone.cs
- IIS7WorkerRequest.cs
- CreationContext.cs
- InputLanguageCollection.cs
- MenuItem.cs
- TextEvent.cs
- ScrollChrome.cs
- GridEntryCollection.cs
- SymLanguageType.cs
- TdsValueSetter.cs
- DateTimeParse.cs
- Vertex.cs
- SignatureDescription.cs
- CompModSwitches.cs
- SynchronizedDispatch.cs
- DmlSqlGenerator.cs
- AnimationException.cs
- SecUtil.cs
- PKCS1MaskGenerationMethod.cs
- Int32CollectionConverter.cs
- EventSinkHelperWriter.cs
- WebPartConnectionsConnectVerb.cs
- TableLayoutSettingsTypeConverter.cs
- XmlDataSource.cs
- DefinitionUpdate.cs
- ZipIOExtraField.cs
- C14NUtil.cs
- RootProfilePropertySettingsCollection.cs
- BinHexDecoder.cs
- ACE.cs
- CssStyleCollection.cs
- CachedRequestParams.cs
- NullableConverter.cs
- EntityStoreSchemaFilterEntry.cs
- CustomCategoryAttribute.cs
- PersonalizablePropertyEntry.cs
- SafeWaitHandle.cs
- HtmlTableRowCollection.cs
- ExecutedRoutedEventArgs.cs
- WindowsAltTab.cs
- ListDataBindEventArgs.cs
- ChannelReliableSession.cs
- cookieexception.cs
- SecurityTokenValidationException.cs
- MobileContainerDesigner.cs
- FlowDocumentPaginator.cs
- Selector.cs
- Point3DKeyFrameCollection.cs
- COAUTHINFO.cs
- AggregationMinMaxHelpers.cs
- GeometryDrawing.cs
- AddInAttribute.cs
- DirectionalLight.cs
- ZipIOExtraFieldElement.cs
- MimeMapping.cs
- AppDomainCompilerProxy.cs
- DesignerOptionService.cs
- DataGridViewTopRowAccessibleObject.cs
- VersionPair.cs
- TypedTableBase.cs
- Transform3DGroup.cs
- ToolStripRenderer.cs
- ColorConvertedBitmap.cs
- RepeaterCommandEventArgs.cs
- ScriptResourceDefinition.cs
- SerializerProvider.cs
- ProjectionPlan.cs
- TextDocumentView.cs
- ListViewUpdateEventArgs.cs
- CookieProtection.cs
- DeferredElementTreeState.cs
- SchemaTypeEmitter.cs
- StringAnimationUsingKeyFrames.cs
- DataGridSortCommandEventArgs.cs
- _HeaderInfoTable.cs