Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Net / System / Net / Configuration / AuthenticationModuleElementCollection.cs / 1 / 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); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LogStream.cs
- DataSourceCacheDurationConverter.cs
- WmfPlaceableFileHeader.cs
- querybuilder.cs
- QilName.cs
- PopupRoot.cs
- HwndStylusInputProvider.cs
- BidOverLoads.cs
- FileDialog.cs
- storepermission.cs
- CharacterMetrics.cs
- RNGCryptoServiceProvider.cs
- DataControlFieldCollection.cs
- TimeoutException.cs
- WindowsRichEditRange.cs
- SqlTrackingWorkflowInstance.cs
- SystemWebSectionGroup.cs
- SoapFormatter.cs
- XmlSchemaProviderAttribute.cs
- PreviewPrintController.cs
- DodSequenceMerge.cs
- TranslateTransform3D.cs
- Set.cs
- CapabilitiesAssignment.cs
- TextSpan.cs
- Queue.cs
- UnicodeEncoding.cs
- DataRowComparer.cs
- FileIOPermission.cs
- SqlRowUpdatedEvent.cs
- WebPartConnectionsConfigureVerb.cs
- CommandManager.cs
- ClusterUtils.cs
- DockProviderWrapper.cs
- BamlRecordReader.cs
- AbstractDataSvcMapFileLoader.cs
- SupportsEventValidationAttribute.cs
- CommunicationObjectAbortedException.cs
- DictionaryGlobals.cs
- Adorner.cs
- EntityException.cs
- SerTrace.cs
- DataBinder.cs
- SimpleBitVector32.cs
- AttributedMetaModel.cs
- WebPartDisplayModeCollection.cs
- X509SecurityTokenProvider.cs
- StringDictionaryEditor.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ConnectionDemuxer.cs
- Helpers.cs
- CharAnimationBase.cs
- ListDictionary.cs
- SignatureDescription.cs
- AuthStoreRoleProvider.cs
- RadioButton.cs
- WebResponse.cs
- GradientStop.cs
- DropDownButton.cs
- Configuration.cs
- ControlDesigner.cs
- PasswordRecovery.cs
- GridItemCollection.cs
- ExeConfigurationFileMap.cs
- QilGeneratorEnv.cs
- DataGridViewCellValueEventArgs.cs
- GeometryHitTestResult.cs
- TransformValueSerializer.cs
- MailMessageEventArgs.cs
- TemplateLookupAction.cs
- ImportDesigner.xaml.cs
- XNodeValidator.cs
- ResXFileRef.cs
- DataGridViewRow.cs
- RtfToken.cs
- ResourceReader.cs
- SvcFileManager.cs
- SplineKeyFrames.cs
- DateTimeValueSerializerContext.cs
- ServiceThrottlingElement.cs
- ColorConvertedBitmap.cs
- DataGridViewLayoutData.cs
- GetBrowserTokenRequest.cs
- SecurityCriticalDataForSet.cs
- DeploymentExceptionMapper.cs
- RMEnrollmentPage1.cs
- SizeF.cs
- InvokeProviderWrapper.cs
- SoapIncludeAttribute.cs
- SqlFacetAttribute.cs
- MessageSecurityTokenVersion.cs
- TreeWalkHelper.cs
- XamlHostingSectionGroup.cs
- TextAdaptor.cs
- SqlConnectionPoolProviderInfo.cs
- DisplayNameAttribute.cs
- BamlResourceContent.cs
- Optimizer.cs
- UseAttributeSetsAction.cs
- ExtendLockAsyncResult.cs