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
- AttributedMetaModel.cs
- Button.cs
- AddInToken.cs
- SQLGuid.cs
- Rotation3DKeyFrameCollection.cs
- LocalServiceSecuritySettings.cs
- ComplexPropertyEntry.cs
- TableRowCollection.cs
- KeyMatchBuilder.cs
- PasswordBox.cs
- RuleAttributes.cs
- UInt16Converter.cs
- PasswordDeriveBytes.cs
- ChannelManager.cs
- Property.cs
- CryptoKeySecurity.cs
- AssemblySettingAttributes.cs
- SchemaMerger.cs
- GuidTagList.cs
- ImageButton.cs
- TableLayoutCellPaintEventArgs.cs
- login.cs
- MimeXmlImporter.cs
- Rect3D.cs
- PartitionedDataSource.cs
- parserscommon.cs
- GeometryGroup.cs
- QueryAccessibilityHelpEvent.cs
- StringComparer.cs
- MetadataArtifactLoaderResource.cs
- Events.cs
- SyndicationFeedFormatter.cs
- ImageListUtils.cs
- Expr.cs
- SqlCharStream.cs
- FastPropertyAccessor.cs
- PointConverter.cs
- FlowDocumentScrollViewer.cs
- WindowPatternIdentifiers.cs
- FunctionOverloadResolver.cs
- NetCodeGroup.cs
- DecimalAnimation.cs
- TextInfo.cs
- MultiByteCodec.cs
- activationcontext.cs
- HtmlValidatorAdapter.cs
- DesignerInterfaces.cs
- EntityDataSourceState.cs
- FunctionUpdateCommand.cs
- UnsafeNativeMethodsMilCoreApi.cs
- EntityClassGenerator.cs
- ObjectDataSourceView.cs
- VisualStyleTypesAndProperties.cs
- XPathNavigatorKeyComparer.cs
- Grid.cs
- UnitySerializationHolder.cs
- Decorator.cs
- RequestCachePolicy.cs
- BuildProviderAppliesToAttribute.cs
- ParallelEnumerable.cs
- TextModifierScope.cs
- DataGridViewImageCell.cs
- SetterTriggerConditionValueConverter.cs
- BitmapEffectDrawing.cs
- HwndTarget.cs
- EventDrivenDesigner.cs
- ManipulationDeltaEventArgs.cs
- LabelAutomationPeer.cs
- CultureTableRecord.cs
- _DigestClient.cs
- OrCondition.cs
- EntityProviderFactory.cs
- SignatureHelper.cs
- XmlSchemaValidationException.cs
- BitmapEffectrendercontext.cs
- PrinterUnitConvert.cs
- SoapSchemaImporter.cs
- ListDictionary.cs
- ReadOnlyPermissionSet.cs
- ImageField.cs
- ArrayExtension.cs
- HttpListenerRequest.cs
- SplitterPanel.cs
- BufferedGraphics.cs
- PersonalizationEntry.cs
- VectorCollection.cs
- RefreshResponseInfo.cs
- SqlMethodCallConverter.cs
- TransformerInfoCollection.cs
- WorkflowRuntimeBehavior.cs
- WindowsGraphics.cs
- coordinator.cs
- GlyphTypeface.cs
- DocumentViewerConstants.cs
- KnownTypesHelper.cs
- _SSPISessionCache.cs
- AssociatedControlConverter.cs
- UdpContractFilterBehavior.cs
- Image.cs
- DataGridComboBoxColumn.cs