Code:
/ FX-1434 / FX-1434 / 1.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
- ColorIndependentAnimationStorage.cs
- DbConnectionFactory.cs
- bidPrivateBase.cs
- CryptoKeySecurity.cs
- FontWeights.cs
- OutputCacheSettings.cs
- Transform.cs
- GraphicsState.cs
- BindingContext.cs
- Margins.cs
- WebPartMenu.cs
- ExpressionVisitor.cs
- SimpleHandlerFactory.cs
- NonVisualControlAttribute.cs
- BufferedGraphicsContext.cs
- CaseStatementProjectedSlot.cs
- Propagator.cs
- BindingOperations.cs
- FlowDocumentPage.cs
- XmlSchemaGroupRef.cs
- CommandEventArgs.cs
- BrowserDefinition.cs
- DialogResultConverter.cs
- XmlSequenceWriter.cs
- WorkflowInstance.cs
- MemoryRecordBuffer.cs
- Viewport3DAutomationPeer.cs
- PropertyEmitter.cs
- ColumnTypeConverter.cs
- FrugalList.cs
- UserControl.cs
- HTTPNotFoundHandler.cs
- SqlDataRecord.cs
- CryptoConfig.cs
- WebPartConnectionsCloseVerb.cs
- CellTreeNode.cs
- precedingquery.cs
- ScrollViewer.cs
- Pair.cs
- ServiceAuthorizationElement.cs
- ProfilePropertyMetadata.cs
- ResizeBehavior.cs
- CapabilitiesAssignment.cs
- RangeValuePattern.cs
- WebPartUtil.cs
- SerializationFieldInfo.cs
- AttachInfo.cs
- Vector3D.cs
- SspiHelper.cs
- Clipboard.cs
- CompositeActivityTypeDescriptorProvider.cs
- XmlObjectSerializerWriteContext.cs
- OutputCacheProfile.cs
- NativeMethods.cs
- FragmentQueryKB.cs
- VisualStyleRenderer.cs
- VectorConverter.cs
- IdnMapping.cs
- EntityDataSourceDesigner.cs
- DriveNotFoundException.cs
- PassportAuthenticationEventArgs.cs
- RawAppCommandInputReport.cs
- PropertyCondition.cs
- SafeBitVector32.cs
- QilTypeChecker.cs
- StringValidatorAttribute.cs
- ToolBarPanel.cs
- _ShellExpression.cs
- Column.cs
- WebBrowserUriTypeConverter.cs
- DispatcherTimer.cs
- CollectionEditVerbManager.cs
- Common.cs
- CustomCredentialPolicy.cs
- SystemSounds.cs
- ExceptionHandlers.cs
- PassportAuthenticationEventArgs.cs
- MatrixIndependentAnimationStorage.cs
- ProfileSettingsCollection.cs
- OrderedDictionaryStateHelper.cs
- ListSourceHelper.cs
- FileDialog.cs
- StructuralType.cs
- typedescriptorpermission.cs
- QueryExpression.cs
- InitializeCorrelation.cs
- DocumentPaginator.cs
- DispatcherFrame.cs
- BamlResourceSerializer.cs
- DelayedRegex.cs
- TreeChangeInfo.cs
- ToolStripInSituService.cs
- LockedHandleGlyph.cs
- BindableAttribute.cs
- TextElementEnumerator.cs
- _AutoWebProxyScriptEngine.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- VectorCollectionValueSerializer.cs
- EncodingInfo.cs
- HttpValueCollection.cs