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
- ControlCachePolicy.cs
- LayoutManager.cs
- FormView.cs
- SecurityHelper.cs
- HtmlInputImage.cs
- Visual.cs
- securitycriticaldata.cs
- ShapingWorkspace.cs
- StateBag.cs
- sqlstateclientmanager.cs
- WebPartHeaderCloseVerb.cs
- XXXInfos.cs
- AuthenticatingEventArgs.cs
- EditorPartChrome.cs
- FocusChangedEventArgs.cs
- PreviewKeyDownEventArgs.cs
- RSAPKCS1SignatureDeformatter.cs
- CharacterMetrics.cs
- WinFormsSpinner.cs
- SystemNetHelpers.cs
- NullReferenceException.cs
- PathFigureCollectionConverter.cs
- SoapSchemaExporter.cs
- NullableDoubleMinMaxAggregationOperator.cs
- WebHttpSecurityModeHelper.cs
- SystemUnicastIPAddressInformation.cs
- OpacityConverter.cs
- DropSource.cs
- TCPClient.cs
- ResourceDescriptionAttribute.cs
- ProtocolElement.cs
- AutomationElement.cs
- CapabilitiesSection.cs
- Function.cs
- RectConverter.cs
- ColorConvertedBitmap.cs
- HttpModuleActionCollection.cs
- FrameworkTextComposition.cs
- LinqTreeNodeEvaluator.cs
- UIAgentMonitor.cs
- XamlSerializerUtil.cs
- HtmlLink.cs
- ApplicationSettingsBase.cs
- OleDbSchemaGuid.cs
- DataGridCommandEventArgs.cs
- HtmlProps.cs
- XmlAtomErrorReader.cs
- EditorPart.cs
- _FtpControlStream.cs
- HttpPostClientProtocol.cs
- BinaryCommonClasses.cs
- DemultiplexingDispatchMessageFormatter.cs
- DiscreteKeyFrames.cs
- BoundPropertyEntry.cs
- WpfKnownTypeInvoker.cs
- EmptyQuery.cs
- FontUnit.cs
- SiteMapSection.cs
- PrtCap_Public.cs
- Rfc2898DeriveBytes.cs
- HasCopySemanticsAttribute.cs
- ToolStripMenuItem.cs
- userdatakeys.cs
- XmlSchemaDocumentation.cs
- CallId.cs
- Blend.cs
- ActiveXHelper.cs
- CodeCastExpression.cs
- BindingOperations.cs
- StrongNameKeyPair.cs
- DBCSCodePageEncoding.cs
- RecognizerInfo.cs
- AxisAngleRotation3D.cs
- ValidationHelper.cs
- RealizationDrawingContextWalker.cs
- InstalledFontCollection.cs
- FloatUtil.cs
- MessageDescription.cs
- ByeOperationAsyncResult.cs
- ConstraintCollection.cs
- CollectionViewSource.cs
- HttpException.cs
- ADMembershipProvider.cs
- HtmlElement.cs
- errorpatternmatcher.cs
- ClusterSafeNativeMethods.cs
- TypeCodeDomSerializer.cs
- FormParameter.cs
- HostingEnvironmentException.cs
- VariableValue.cs
- DocumentApplication.cs
- WebPartConnection.cs
- DecoderExceptionFallback.cs
- BinaryNode.cs
- CodeArrayCreateExpression.cs
- VirtualizingStackPanel.cs
- NTAccount.cs
- HtmlGenericControl.cs
- Lasso.cs
- GiveFeedbackEvent.cs