Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Configuration / AuthenticationModuleElement.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RichTextBox.cs
- TrustLevel.cs
- ReachPrintTicketSerializerAsync.cs
- Messages.cs
- BitmapEffectGroup.cs
- WebFormDesignerActionService.cs
- TextInfo.cs
- Column.cs
- AliasGenerator.cs
- DES.cs
- ListControl.cs
- Vector.cs
- FastEncoder.cs
- ContextDataSourceView.cs
- ElementHostAutomationPeer.cs
- COM2EnumConverter.cs
- DictionaryKeyPropertyAttribute.cs
- GridEntry.cs
- TypeLibConverter.cs
- HighlightComponent.cs
- NetworkStream.cs
- TextFormatter.cs
- ContentElementAutomationPeer.cs
- ProtocolsConfigurationEntry.cs
- RequestTimeoutManager.cs
- KeyValueConfigurationCollection.cs
- XPSSignatureDefinition.cs
- QilInvokeEarlyBound.cs
- LexicalChunk.cs
- EntitySetBaseCollection.cs
- Decoder.cs
- DateTimeValueSerializerContext.cs
- ExpressionNode.cs
- SafeNativeMethodsMilCoreApi.cs
- LineGeometry.cs
- GeneratedView.cs
- CreateUserWizardStep.cs
- EventProviderBase.cs
- TextEditorCopyPaste.cs
- Literal.cs
- GreenMethods.cs
- MdImport.cs
- ObjectKeyFrameCollection.cs
- ApplicationDirectory.cs
- VideoDrawing.cs
- DemultiplexingDispatchMessageFormatter.cs
- Error.cs
- RegexCompilationInfo.cs
- PriorityRange.cs
- MouseEvent.cs
- KeySplineConverter.cs
- XmlSerializer.cs
- SectionRecord.cs
- NodeCounter.cs
- DataContractSerializerFaultFormatter.cs
- SecurityIdentifierConverter.cs
- PathSegment.cs
- Mouse.cs
- TreeViewTemplateSelector.cs
- RouteValueExpressionBuilder.cs
- ImageUrlEditor.cs
- OrderedParallelQuery.cs
- VerticalConnector.xaml.cs
- ButtonBase.cs
- HttpCacheVaryByContentEncodings.cs
- DocumentEventArgs.cs
- SymLanguageVendor.cs
- CommonGetThemePartSize.cs
- IDictionary.cs
- FormsAuthenticationEventArgs.cs
- storagemappingitemcollection.viewdictionary.cs
- PrivilegedConfigurationManager.cs
- CqlIdentifiers.cs
- MDIClient.cs
- RuleSettings.cs
- PagedDataSource.cs
- TypeUsage.cs
- SimpleExpression.cs
- TableLayoutPanelCodeDomSerializer.cs
- HttpContext.cs
- SocketPermission.cs
- SQLInt16.cs
- AuthenticationConfig.cs
- GeneralTransform3DTo2DTo3D.cs
- ErrorReporting.cs
- Part.cs
- EntityClassGenerator.cs
- ToolStripDropDownMenu.cs
- EntityDataSourceColumn.cs
- SiteOfOriginPart.cs
- DataGridViewCellStyle.cs
- Codec.cs
- MsmqIntegrationSecurityElement.cs
- InputScopeNameConverter.cs
- SQLInt16.cs
- SecurityKeyType.cs
- PrimitiveSchema.cs
- HitTestWithGeometryDrawingContextWalker.cs
- NamespaceQuery.cs
- EntityException.cs