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
- AsymmetricSignatureFormatter.cs
- Compilation.cs
- LinqDataSourceContextEventArgs.cs
- DependencyPropertyKey.cs
- HScrollBar.cs
- Graphics.cs
- Serializer.cs
- XdrBuilder.cs
- StyleReferenceConverter.cs
- XmlWriter.cs
- Matrix.cs
- ProgressChangedEventArgs.cs
- ThreadPoolTaskScheduler.cs
- DirectoryRedirect.cs
- ListViewItem.cs
- WorkflowDesignerColors.cs
- SpellerHighlightLayer.cs
- NativeActivity.cs
- CommandValueSerializer.cs
- DataGridHeaderBorder.cs
- ApplicationSecurityManager.cs
- DataServiceRequestOfT.cs
- xdrvalidator.cs
- RedistVersionInfo.cs
- XmlAttributeOverrides.cs
- ConnectionInterfaceCollection.cs
- SafeHandles.cs
- UnsafeNativeMethods.cs
- UnlockInstanceAsyncResult.cs
- ResourceDisplayNameAttribute.cs
- EntityKey.cs
- PasswordBox.cs
- PersistencePipeline.cs
- Error.cs
- HierarchicalDataSourceIDConverter.cs
- CodeLabeledStatement.cs
- DirectoryGroupQuery.cs
- FigureHelper.cs
- HttpFileCollection.cs
- TripleDESCryptoServiceProvider.cs
- RealProxy.cs
- LinearGradientBrush.cs
- CodeStatementCollection.cs
- FixedSOMTable.cs
- EarlyBoundInfo.cs
- ClassHandlersStore.cs
- ImageKeyConverter.cs
- Form.cs
- ReferenceEqualityComparer.cs
- MetadataSerializer.cs
- DescendantOverDescendantQuery.cs
- ClaimTypeElementCollection.cs
- ServiceModelReg.cs
- WindowsTokenRoleProvider.cs
- DecimalAnimationUsingKeyFrames.cs
- GeometryValueSerializer.cs
- OdbcDataAdapter.cs
- WebUtil.cs
- PackageFilter.cs
- PropertyDescriptorGridEntry.cs
- sqlstateclientmanager.cs
- ProfilePropertyNameValidator.cs
- IntSecurity.cs
- SecurityTokenProvider.cs
- TraceListener.cs
- GPRECT.cs
- ClipboardData.cs
- SystemNetworkInterface.cs
- OrderPreservingSpoolingTask.cs
- SystemInfo.cs
- BooleanAnimationBase.cs
- wmiprovider.cs
- DynamicPropertyHolder.cs
- ToolStripDropDown.cs
- DayRenderEvent.cs
- CodeDesigner.cs
- ModelPerspective.cs
- DebuggerAttributes.cs
- LinqDataSourceDeleteEventArgs.cs
- Relationship.cs
- DataGridLinkButton.cs
- XmlValidatingReader.cs
- UserNameSecurityTokenAuthenticator.cs
- TypeInitializationException.cs
- FontFamilyValueSerializer.cs
- InitializationEventAttribute.cs
- ChangeDirector.cs
- ExceptionHandlers.cs
- XhtmlCssHandler.cs
- ListControlConvertEventArgs.cs
- XamlClipboardData.cs
- DbMetaDataCollectionNames.cs
- ExpressionCopier.cs
- ExpressionPrinter.cs
- PasswordPropertyTextAttribute.cs
- TransferRequestHandler.cs
- CodeMemberMethod.cs
- Size3DConverter.cs
- GridItem.cs
- ActivityWithResultValueSerializer.cs