Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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); } } // 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
- SqlReferenceCollection.cs
- SchemaNames.cs
- XmlDataLoader.cs
- DeferredSelectedIndexReference.cs
- MembershipAdapter.cs
- InkCanvasAutomationPeer.cs
- Brush.cs
- EdmItemCollection.OcAssemblyCache.cs
- VerticalAlignConverter.cs
- WindowsFormsLinkLabel.cs
- TickBar.cs
- HwndTarget.cs
- MatrixTransform3D.cs
- Debug.cs
- ReaderWriterLockSlim.cs
- DataGridViewCheckBoxCell.cs
- GridViewDeleteEventArgs.cs
- ToolStripContainer.cs
- OutputWindow.cs
- Model3D.cs
- SecurityResources.cs
- _AcceptOverlappedAsyncResult.cs
- EntityDataSourceWizardForm.cs
- Util.cs
- Matrix3DConverter.cs
- AuthenticationModuleElementCollection.cs
- TextTreeTextElementNode.cs
- CollectionsUtil.cs
- ArraySortHelper.cs
- Matrix.cs
- ScrollChrome.cs
- FlatButtonAppearance.cs
- IssuedTokenServiceElement.cs
- UserPreferenceChangingEventArgs.cs
- AuthorizationSection.cs
- LocalizabilityAttribute.cs
- MessageUtil.cs
- MultiTrigger.cs
- SqlDataSourceConfigureSelectPanel.cs
- LinkUtilities.cs
- QueryConverter.cs
- MetadataException.cs
- ProviderSettings.cs
- Axis.cs
- EntityDataSourceContextCreatedEventArgs.cs
- figurelength.cs
- VideoDrawing.cs
- TransformerTypeCollection.cs
- AnonymousIdentificationModule.cs
- UpdateExpressionVisitor.cs
- SimpleWorkerRequest.cs
- MessageSmuggler.cs
- XmlSchemaSimpleContentExtension.cs
- SmtpReplyReader.cs
- BasicHttpMessageSecurityElement.cs
- HorizontalAlignConverter.cs
- SecurityTokenInclusionMode.cs
- DataSourceSelectArguments.cs
- LocationUpdates.cs
- HtmlInputHidden.cs
- UriSectionData.cs
- OdbcTransaction.cs
- GlyphCache.cs
- ToolStripItem.cs
- UriTemplateLiteralPathSegment.cs
- ParallelRangeManager.cs
- DataRowComparer.cs
- _UriTypeConverter.cs
- MsmqReceiveParameters.cs
- ProjectionCamera.cs
- DataBindingCollectionEditor.cs
- TypedElement.cs
- StrongNameMembershipCondition.cs
- TypeDescriptionProviderAttribute.cs
- ObservableCollection.cs
- IndexerNameAttribute.cs
- NamespaceEmitter.cs
- ProcessThreadCollection.cs
- BamlLocalizabilityResolver.cs
- XhtmlBasicValidatorAdapter.cs
- BitmapCodecInfoInternal.cs
- MediaElement.cs
- EmptyControlCollection.cs
- WeakReferenceList.cs
- HtmlInputRadioButton.cs
- MinimizableAttributeTypeConverter.cs
- CollectionChangeEventArgs.cs
- ArcSegment.cs
- BulletChrome.cs
- StaticSiteMapProvider.cs
- UpdateProgress.cs
- SHA256Managed.cs
- SplitterPanel.cs
- PagesChangedEventArgs.cs
- AssemblyResourceLoader.cs
- DefaultPropertyAttribute.cs
- AnimatedTypeHelpers.cs
- HttpHostedTransportConfiguration.cs
- XmlSchemaDatatype.cs
- HotSpotCollection.cs