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
- XmlObjectSerializerWriteContext.cs
- SystemEvents.cs
- ListViewCancelEventArgs.cs
- IndexerReference.cs
- ClientRuntimeConfig.cs
- __FastResourceComparer.cs
- SafeRightsManagementEnvironmentHandle.cs
- dataprotectionpermission.cs
- ExpanderAutomationPeer.cs
- SerialStream.cs
- CategoryNameCollection.cs
- ToolStripInSituService.cs
- DataBinding.cs
- StylusLogic.cs
- CallbackTimeoutsBehavior.cs
- WrapPanel.cs
- SelectionBorderGlyph.cs
- XmlSchema.cs
- HitTestParameters3D.cs
- LassoSelectionBehavior.cs
- DirectionalLight.cs
- TargetControlTypeCache.cs
- CompoundFileIOPermission.cs
- NativeActivity.cs
- DataStorage.cs
- Rules.cs
- UpdatePanelControlTrigger.cs
- FixedSOMTable.cs
- ReflectionHelper.cs
- BoundsDrawingContextWalker.cs
- Vector3DCollectionValueSerializer.cs
- StringOutput.cs
- CodeDefaultValueExpression.cs
- ExtenderControl.cs
- MemoryStream.cs
- CrossContextChannel.cs
- Environment.cs
- ToolStripDesigner.cs
- ReturnValue.cs
- Activator.cs
- SelectorItemAutomationPeer.cs
- PagedControl.cs
- FormsAuthenticationConfiguration.cs
- SvcFileManager.cs
- XmlSchemaAttribute.cs
- StylusTip.cs
- unsafenativemethodsother.cs
- ControlPropertyNameConverter.cs
- GenericRootAutomationPeer.cs
- ParamArrayAttribute.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- RichTextBox.cs
- TemplateField.cs
- SqlDataSourceCommandEventArgs.cs
- Parallel.cs
- ParseChildrenAsPropertiesAttribute.cs
- ContentValidator.cs
- XPathDocumentNavigator.cs
- SecUtil.cs
- FactoryGenerator.cs
- ControlEvent.cs
- MenuCommands.cs
- Glyph.cs
- JumpTask.cs
- JsonDeserializer.cs
- TableRow.cs
- Boolean.cs
- SelectionRangeConverter.cs
- ElapsedEventArgs.cs
- CatalogZoneBase.cs
- DateTimeOffsetStorage.cs
- NavigationExpr.cs
- JapaneseCalendar.cs
- XPathEmptyIterator.cs
- QueryAsyncResult.cs
- ListBindingConverter.cs
- ColorContext.cs
- XComponentModel.cs
- CodeDefaultValueExpression.cs
- Win32SafeHandles.cs
- MenuItemBinding.cs
- CacheSection.cs
- SaveWorkflowCommand.cs
- AsyncPostBackTrigger.cs
- HandlerMappingMemo.cs
- BamlStream.cs
- DesignTimeVisibleAttribute.cs
- wgx_commands.cs
- PathFigure.cs
- TemplateGroupCollection.cs
- HttpListenerPrefixCollection.cs
- FrameworkContentElement.cs
- ReflectionHelper.cs
- HtmlElementEventArgs.cs
- BoundingRectTracker.cs
- GregorianCalendarHelper.cs
- SafePointer.cs
- RadioButtonDesigner.cs
- ClientTargetCollection.cs
- SelectionItemProviderWrapper.cs