Code:
/ DotNET / DotNET / 8.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
- Model3DCollection.cs
- PermissionRequestEvidence.cs
- CalloutQueueItem.cs
- ComplexObject.cs
- ManifestResourceInfo.cs
- StorageComplexPropertyMapping.cs
- DiffuseMaterial.cs
- DataRelationCollection.cs
- DrawingDrawingContext.cs
- TextSelectionHelper.cs
- CodeCatchClauseCollection.cs
- MenuStrip.cs
- ObjectDataSourceMethodEventArgs.cs
- TemplateLookupAction.cs
- FileUtil.cs
- XmlNodeChangedEventArgs.cs
- EntityViewGenerationAttribute.cs
- Baml2006KnownTypes.cs
- WebPartMinimizeVerb.cs
- DesignerActionVerbItem.cs
- WebBrowserHelper.cs
- XmlConvert.cs
- SettingsPropertyWrongTypeException.cs
- Assert.cs
- SpotLight.cs
- WindowsGraphics2.cs
- TreeNodeConverter.cs
- TickBar.cs
- WebMessageBodyStyleHelper.cs
- TemplateXamlTreeBuilder.cs
- X509SecurityTokenAuthenticator.cs
- ContactManager.cs
- DragEventArgs.cs
- MobileContainerDesigner.cs
- CompositeControl.cs
- HttpWebRequest.cs
- UpdateCompiler.cs
- ProfileInfo.cs
- VideoDrawing.cs
- HScrollProperties.cs
- PrePrepareMethodAttribute.cs
- metadatamappinghashervisitor.cs
- WebUtil.cs
- Properties.cs
- FixedSchema.cs
- Pen.cs
- IdentityModelDictionary.cs
- RemotingSurrogateSelector.cs
- XmlnsPrefixAttribute.cs
- ToolStripDropDownButton.cs
- MethodSet.cs
- SecurityContext.cs
- DataGridViewComboBoxEditingControl.cs
- XmlTextReader.cs
- XPathSelfQuery.cs
- SchemaDeclBase.cs
- CachedFontFace.cs
- PanelStyle.cs
- StrokeCollectionDefaultValueFactory.cs
- DataGridView.cs
- HandlerWithFactory.cs
- OpenTypeLayoutCache.cs
- EncoderParameters.cs
- XmlSchemas.cs
- TextCharacters.cs
- Stylesheet.cs
- Simplifier.cs
- DrawingContext.cs
- UIElementParaClient.cs
- AffineTransform3D.cs
- ToolStripArrowRenderEventArgs.cs
- CapabilitiesSection.cs
- OracleException.cs
- SecurityAccessDeniedException.cs
- NetTcpBindingCollectionElement.cs
- LinearKeyFrames.cs
- UnsafeNativeMethodsTablet.cs
- TextTreeTextBlock.cs
- AddressHeaderCollection.cs
- StaticExtension.cs
- Accessible.cs
- ListBoxItemAutomationPeer.cs
- EmptyEnumerable.cs
- XmlAttribute.cs
- CollectionViewGroupInternal.cs
- AQNBuilder.cs
- WorkflowServiceInstance.cs
- ProcessHostConfigUtils.cs
- Geometry3D.cs
- _ScatterGatherBuffers.cs
- SelectedCellsCollection.cs
- ObjectStateEntryDbDataRecord.cs
- FigureParaClient.cs
- UIPermission.cs
- XhtmlTextWriter.cs
- DataSourceXmlSerializationAttribute.cs
- SecurityDescriptor.cs
- TransactionInterop.cs
- IndexerNameAttribute.cs
- VirtualDirectoryMappingCollection.cs