Code:
/ FX-1434 / FX-1434 / 1.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
- ThreadAbortException.cs
- CalendarDateRangeChangingEventArgs.cs
- ChangeNode.cs
- XpsPackagingPolicy.cs
- GenericUriParser.cs
- BoolExpressionVisitors.cs
- ComponentCollection.cs
- CriticalFinalizerObject.cs
- XamlTemplateSerializer.cs
- PieceNameHelper.cs
- PlaceHolder.cs
- ConfigurationSectionHelper.cs
- TransactionTraceIdentifier.cs
- SelectionEditingBehavior.cs
- RegexStringValidator.cs
- UnsafeNativeMethods.cs
- TableRow.cs
- FirewallWrapper.cs
- odbcmetadatacollectionnames.cs
- UrlPropertyAttribute.cs
- DataRelation.cs
- ItemAutomationPeer.cs
- TextPattern.cs
- DataServiceConfiguration.cs
- ObjectDataSourceMethodEventArgs.cs
- AuthenticationManager.cs
- _ContextAwareResult.cs
- GradientBrush.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TableMethodGenerator.cs
- UIElementParaClient.cs
- OracleBFile.cs
- LineServicesRun.cs
- SQLBytesStorage.cs
- CollectionViewGroupInternal.cs
- XmlnsDefinitionAttribute.cs
- UrlPath.cs
- ModelChangedEventArgsImpl.cs
- BinaryReader.cs
- Buffer.cs
- TreeNodeMouseHoverEvent.cs
- MultiAsyncResult.cs
- DisplayInformation.cs
- SafeThreadHandle.cs
- LogReserveAndAppendState.cs
- JavaScriptSerializer.cs
- DesignerPainter.cs
- InvalidDataException.cs
- DurableEnlistmentState.cs
- MonitoringDescriptionAttribute.cs
- AttachedAnnotationChangedEventArgs.cs
- NotifyCollectionChangedEventArgs.cs
- BindingListCollectionView.cs
- DeleteMemberBinder.cs
- RemoteWebConfigurationHostServer.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- TextTrailingWordEllipsis.cs
- SuppressMergeCheckAttribute.cs
- AttachInfo.cs
- HwndTarget.cs
- XamlClipboardData.cs
- ExtendedPropertyCollection.cs
- DbProviderFactory.cs
- DataGridViewColumnCollection.cs
- XmlCharCheckingWriter.cs
- XamlPointCollectionSerializer.cs
- ErrorWrapper.cs
- MergeLocalizationDirectives.cs
- GridViewColumnHeaderAutomationPeer.cs
- FileDialogCustomPlaces.cs
- QueryException.cs
- SqlPersonalizationProvider.cs
- Regex.cs
- HelloOperationAsyncResult.cs
- ChannelEndpointElement.cs
- BindingWorker.cs
- TypeSystemProvider.cs
- InvokeCompletedEventArgs.cs
- DecimalAnimation.cs
- DataRowChangeEvent.cs
- SqlBuffer.cs
- ValidationSummaryDesigner.cs
- CodeIdentifiers.cs
- ProfilePropertyMetadata.cs
- ContextMenuStripActionList.cs
- LocationReferenceEnvironment.cs
- SqlAliaser.cs
- Html32TextWriter.cs
- ConstantExpression.cs
- EmptyEnumerator.cs
- AuthorizationSection.cs
- UidManager.cs
- TripleDES.cs
- DataProtection.cs
- InputScopeManager.cs
- Trace.cs
- SqlConnectionPoolProviderInfo.cs
- TableRow.cs
- ViewGenerator.cs
- Rotation3D.cs