Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Net / System / Net / Configuration / AuthenticationModuleElement.cs / 1 / AuthenticationModuleElement.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.Configuration { using System; using System.Configuration; using System.Reflection; using System.Security.Permissions; public sealed class AuthenticationModuleElement : ConfigurationElement { public AuthenticationModuleElement() { this.properties.Add(this.type); } public AuthenticationModuleElement(string typeName) : this() { if (typeName != (string)this.type.DefaultValue) { this.Type = typeName; } } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } [ConfigurationProperty(ConfigurationStrings.Type, IsRequired=true, IsKey = true)] public string Type { get { return (string)this[this.type]; } set { this[this.type] = value; } } internal string Key { get { return this.Type; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty type = new ConfigurationProperty(ConfigurationStrings.Type, typeof(string), null, ConfigurationPropertyOptions.IsKey); } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SystemUdpStatistics.cs
- CurrentChangingEventArgs.cs
- COM2IPerPropertyBrowsingHandler.cs
- DictionaryBase.cs
- BinaryReader.cs
- ControlEvent.cs
- PathFigure.cs
- TraceSource.cs
- LayoutTableCell.cs
- OracleCommand.cs
- ColorInterpolationModeValidation.cs
- MetadataItemEmitter.cs
- ProxyHelper.cs
- ServiceXNameTypeConverter.cs
- FixedDSBuilder.cs
- CommandHelper.cs
- StringWriter.cs
- ResourceAttributes.cs
- FloaterParagraph.cs
- EncodingNLS.cs
- InputLangChangeRequestEvent.cs
- CharConverter.cs
- ScrollProperties.cs
- ScrollData.cs
- TextEditorSpelling.cs
- Int32Storage.cs
- Pointer.cs
- DataGridCommandEventArgs.cs
- NonClientArea.cs
- BaseHashHelper.cs
- WeakEventTable.cs
- Logging.cs
- UnsafeNativeMethodsCLR.cs
- WindowPattern.cs
- ComplexTypeEmitter.cs
- _CookieModule.cs
- LineSegment.cs
- FtpWebResponse.cs
- ConnectionInterfaceCollection.cs
- XmlWellformedWriter.cs
- PasswordPropertyTextAttribute.cs
- TextSelectionHelper.cs
- CodeTypeParameter.cs
- XmlIlVisitor.cs
- WebHttpBinding.cs
- InputProviderSite.cs
- MulticastNotSupportedException.cs
- TdsValueSetter.cs
- DesignerTransaction.cs
- UserNameSecurityTokenParameters.cs
- ACE.cs
- ToolStripSplitButton.cs
- ProfileBuildProvider.cs
- PropertyStore.cs
- Pkcs7Signer.cs
- PerformanceCounters.cs
- newinstructionaction.cs
- Substitution.cs
- InfoCardTraceRecord.cs
- DependencyPropertyChangedEventArgs.cs
- Ops.cs
- SqlPersonalizationProvider.cs
- AxHost.cs
- XsdCachingReader.cs
- DockingAttribute.cs
- ExtractedStateEntry.cs
- ContentElement.cs
- AppDomainFactory.cs
- FolderLevelBuildProvider.cs
- RowsCopiedEventArgs.cs
- DataGridTextBox.cs
- JsonFormatReaderGenerator.cs
- XmlCharacterData.cs
- RemotingClientProxy.cs
- Canvas.cs
- EncryptedKey.cs
- CustomDictionarySources.cs
- SystemUdpStatistics.cs
- PriorityRange.cs
- PerspectiveCamera.cs
- UnknownBitmapEncoder.cs
- BuildProviderUtils.cs
- SHA256.cs
- Tablet.cs
- webeventbuffer.cs
- HtmlTitle.cs
- HandlerFactoryWrapper.cs
- SafeNativeMethods.cs
- Privilege.cs
- HostingEnvironment.cs
- EventHandlingScope.cs
- FilteredDataSetHelper.cs
- ScrollContentPresenter.cs
- SimpleBitVector32.cs
- ExpressionHelper.cs
- FileNotFoundException.cs
- GenericsInstances.cs
- DataTemplateSelector.cs
- Addressing.cs
- DomainLiteralReader.cs