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
- FillBehavior.cs
- RadioButton.cs
- ToolStripGrip.cs
- XmlConvert.cs
- PartialList.cs
- ZipIOModeEnforcingStream.cs
- SQLDouble.cs
- BinaryExpression.cs
- VoiceSynthesis.cs
- MimePart.cs
- Int16.cs
- ProcessHostFactoryHelper.cs
- TextEditor.cs
- ObjectQueryExecutionPlan.cs
- SqlDeflator.cs
- AlignmentYValidation.cs
- ExcludeFromCodeCoverageAttribute.cs
- ProvideValueServiceProvider.cs
- XPathNode.cs
- XmlNamespaceManager.cs
- ListViewCommandEventArgs.cs
- FontWeights.cs
- SetterTriggerConditionValueConverter.cs
- MetabaseSettingsIis7.cs
- WorkflowWebHostingModule.cs
- PermissionRequestEvidence.cs
- ContainerSelectorBehavior.cs
- KeyboardDevice.cs
- DbQueryCommandTree.cs
- CodeDefaultValueExpression.cs
- StringOutput.cs
- WebScriptServiceHost.cs
- AdobeCFFWrapper.cs
- SqlNamer.cs
- BaseCollection.cs
- AppModelKnownContentFactory.cs
- Invariant.cs
- Atom10FeedFormatter.cs
- PersonalizationState.cs
- OptionalColumn.cs
- HotCommands.cs
- CryptoProvider.cs
- PropertyGridView.cs
- DebugView.cs
- ITreeGenerator.cs
- CodeRemoveEventStatement.cs
- DependencyPropertyAttribute.cs
- ViewService.cs
- ReceiveMessageContent.cs
- MailSettingsSection.cs
- IndexObject.cs
- ResizingMessageFilter.cs
- DataTableMapping.cs
- RtfControlWordInfo.cs
- ObsoleteAttribute.cs
- RadioButtonPopupAdapter.cs
- AuthenticatedStream.cs
- AuthenticodeSignatureInformation.cs
- MultiBindingExpression.cs
- ConfigurationLocation.cs
- FrameworkContentElement.cs
- SqlDataSourceAdvancedOptionsForm.cs
- RestClientProxyHandler.cs
- StartUpEventArgs.cs
- IndentedWriter.cs
- CLSCompliantAttribute.cs
- LayoutDump.cs
- SafeMILHandle.cs
- SoapHeader.cs
- CreateUserWizard.cs
- CLRBindingWorker.cs
- ServerType.cs
- EpmContentDeSerializerBase.cs
- EntityParameter.cs
- ErrorHandler.cs
- GACIdentityPermission.cs
- XmlILConstructAnalyzer.cs
- ObjectViewQueryResultData.cs
- PathData.cs
- DispatcherHookEventArgs.cs
- ObjectNotFoundException.cs
- WindowsTooltip.cs
- DbParameterHelper.cs
- NameNode.cs
- keycontainerpermission.cs
- List.cs
- _Connection.cs
- KnowledgeBase.cs
- regiisutil.cs
- TemplateBamlRecordReader.cs
- ThicknessAnimationBase.cs
- FormViewDesigner.cs
- RelationalExpressions.cs
- LocalFileSettingsProvider.cs
- CapacityStreamGeometryContext.cs
- TargetControlTypeAttribute.cs
- Pair.cs
- OneOfConst.cs
- DBConnectionString.cs
- WinCategoryAttribute.cs