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
- Vector3D.cs
- ContextBase.cs
- CounterSample.cs
- ResourceIDHelper.cs
- arc.cs
- CompilerParameters.cs
- DetailsViewInsertedEventArgs.cs
- TypeElement.cs
- FrameworkContentElement.cs
- CredentialCache.cs
- DefaultDialogButtons.cs
- TemplateEditingVerb.cs
- Executor.cs
- XPathExpr.cs
- SchemaNamespaceManager.cs
- UnsafeNativeMethods.cs
- precedingquery.cs
- FtpCachePolicyElement.cs
- XmlBinaryReader.cs
- SettingsProviderCollection.cs
- FormsAuthenticationUserCollection.cs
- FacetDescription.cs
- Rect.cs
- ThreadAttributes.cs
- ItemCheckedEvent.cs
- TypedReference.cs
- _FtpControlStream.cs
- BitmapCacheBrush.cs
- RectangleF.cs
- FixedNode.cs
- TypeGenericEnumerableViewSchema.cs
- FixedSOMLineCollection.cs
- AssociationType.cs
- Brush.cs
- RelatedImageListAttribute.cs
- ChunkedMemoryStream.cs
- MarkupExtensionParser.cs
- AppDomain.cs
- LambdaCompiler.Statements.cs
- Guid.cs
- DataSourceXmlSerializer.cs
- DelimitedListTraceListener.cs
- RequestResponse.cs
- ReachIDocumentPaginatorSerializer.cs
- EventProviderWriter.cs
- PropertyNames.cs
- ResourceAssociationType.cs
- CurrentTimeZone.cs
- TagPrefixAttribute.cs
- PtsHost.cs
- SqlDataSourceParameterParser.cs
- HostedTcpTransportManager.cs
- DataServices.cs
- ObjectViewEntityCollectionData.cs
- clipboard.cs
- NativeConfigurationLoader.cs
- StagingAreaInputItem.cs
- HttpDictionary.cs
- IpcChannelHelper.cs
- Parser.cs
- TrackingCondition.cs
- SystemBrushes.cs
- Sequence.cs
- ToolStripButton.cs
- DrawingContext.cs
- UrlMappingsSection.cs
- TextReader.cs
- NavigationProperty.cs
- DateTimeSerializationSection.cs
- ParentUndoUnit.cs
- ListDependantCardsRequest.cs
- BitStream.cs
- BindingContext.cs
- storepermissionattribute.cs
- Soap.cs
- CachedBitmap.cs
- SerializationInfo.cs
- CounterCreationDataCollection.cs
- RenderContext.cs
- InputLangChangeEvent.cs
- _NetworkingPerfCounters.cs
- SingleObjectCollection.cs
- MouseCaptureWithinProperty.cs
- TimeSpanValidator.cs
- XmlSchemaAnnotated.cs
- GridViewColumn.cs
- UrlAuthFailedErrorFormatter.cs
- BlobPersonalizationState.cs
- Int16AnimationBase.cs
- RowType.cs
- UpdateManifestForBrowserApplication.cs
- LogicalCallContext.cs
- ApplicationCommands.cs
- RandomNumberGenerator.cs
- SmtpAuthenticationManager.cs
- RequiredArgumentAttribute.cs
- AnimationException.cs
- PassportIdentity.cs
- CustomExpressionEventArgs.cs
- ShapingWorkspace.cs