Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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
- WmfPlaceableFileHeader.cs
- SqlDataSourceEnumerator.cs
- SmiEventStream.cs
- DomainUpDown.cs
- SubMenuStyleCollection.cs
- DataAdapter.cs
- AppSettings.cs
- TimeoutValidationAttribute.cs
- IIS7UserPrincipal.cs
- ChangesetResponse.cs
- SqlDataSourceView.cs
- Freezable.cs
- TextTreeExtractElementUndoUnit.cs
- CodeSubDirectory.cs
- TdsEnums.cs
- EpmAttributeNameBuilder.cs
- MachineSettingsSection.cs
- _SingleItemRequestCache.cs
- Object.cs
- OlePropertyStructs.cs
- DmlSqlGenerator.cs
- TextDecorationCollection.cs
- HMACRIPEMD160.cs
- Context.cs
- PkcsMisc.cs
- OrderedDictionary.cs
- ObjectAssociationEndMapping.cs
- SizeValueSerializer.cs
- IisTraceListener.cs
- ProfileGroupSettings.cs
- EditBehavior.cs
- GetPageNumberCompletedEventArgs.cs
- DocumentViewerConstants.cs
- ZipIOLocalFileDataDescriptor.cs
- IssuedSecurityTokenParameters.cs
- BaseDataList.cs
- WhereaboutsReader.cs
- MailSettingsSection.cs
- FormParameter.cs
- ImmutableObjectAttribute.cs
- MULTI_QI.cs
- Config.cs
- LoginView.cs
- MessageEnumerator.cs
- UrlMapping.cs
- MatrixTransform.cs
- Point3DAnimationBase.cs
- EntityReference.cs
- TableRowGroup.cs
- RadioButtonRenderer.cs
- RegexInterpreter.cs
- XslTransform.cs
- ComponentChangedEvent.cs
- HttpServerVarsCollection.cs
- ChannelDispatcherBase.cs
- ActivityTypeResolver.xaml.cs
- ListViewInsertedEventArgs.cs
- RichTextBox.cs
- LinearKeyFrames.cs
- CqlWriter.cs
- Int16.cs
- DbDataAdapter.cs
- IgnoreDeviceFilterElementCollection.cs
- DataRecord.cs
- CodeTypeDelegate.cs
- ProcessHostConfigUtils.cs
- CommentEmitter.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- DbBuffer.cs
- AssociationSetEnd.cs
- CompilerInfo.cs
- SecurityIdentifierElement.cs
- CodePageUtils.cs
- TypeSystem.cs
- Renderer.cs
- DoWorkEventArgs.cs
- MediaPlayerState.cs
- StringExpressionSet.cs
- DesignerExtenders.cs
- CommonObjectSecurity.cs
- OleDbDataReader.cs
- ExceptionHandlerDesigner.cs
- PackageDigitalSignatureManager.cs
- WorkflowShape.cs
- DbProviderSpecificTypePropertyAttribute.cs
- DocumentPageView.cs
- _SslSessionsCache.cs
- TextTreeFixupNode.cs
- FilterRepeater.cs
- PageAsyncTask.cs
- PropertyMappingExceptionEventArgs.cs
- ValueChangedEventManager.cs
- PlatformCulture.cs
- MailWebEventProvider.cs
- UserUseLicenseDictionaryLoader.cs
- RotateTransform3D.cs
- ValueConversionAttribute.cs
- AppSettingsSection.cs
- MatrixConverter.cs
- PanelContainerDesigner.cs