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
- HitTestWithGeometryDrawingContextWalker.cs
- XPathScanner.cs
- InternalCache.cs
- XmlILIndex.cs
- FontWeightConverter.cs
- StorageAssociationTypeMapping.cs
- TreeNodeCollectionEditor.cs
- SqlUtils.cs
- StorageRoot.cs
- util.cs
- MetadataItemEmitter.cs
- JsonFormatReaderGenerator.cs
- DataControlPagerLinkButton.cs
- X509Utils.cs
- MaskPropertyEditor.cs
- MediaSystem.cs
- ObjectStorage.cs
- ReferenceSchema.cs
- ErrorHandler.cs
- CacheAxisQuery.cs
- StrokeNode.cs
- DebugView.cs
- DocumentEventArgs.cs
- ConnectionStringsSection.cs
- DataRowChangeEvent.cs
- TabletDevice.cs
- EncryptedPackage.cs
- Quad.cs
- EncryptedKey.cs
- ReaderWriterLockWrapper.cs
- SafeNativeMethodsCLR.cs
- IItemProperties.cs
- IssuanceTokenProviderBase.cs
- XmlCharacterData.cs
- StorageRoot.cs
- StyleXamlParser.cs
- FontConverter.cs
- TableCell.cs
- _TLSstream.cs
- BooleanAnimationBase.cs
- SQLBinaryStorage.cs
- OdbcRowUpdatingEvent.cs
- DataGridViewCellEventArgs.cs
- BinarySecretSecurityToken.cs
- ZipArchive.cs
- EventDescriptorCollection.cs
- TripleDES.cs
- DocumentSequence.cs
- _NetRes.cs
- RuntimeConfigLKG.cs
- DynamicDiscoSearcher.cs
- Parallel.cs
- TraceSection.cs
- ApplicationInfo.cs
- TextServicesProperty.cs
- MediaEntryAttribute.cs
- IDQuery.cs
- XmlNodeChangedEventArgs.cs
- HybridCollection.cs
- ContainerUIElement3D.cs
- GradientStop.cs
- AdjustableArrowCap.cs
- ClickablePoint.cs
- DataSourceConverter.cs
- MultiView.cs
- SystemGatewayIPAddressInformation.cs
- Style.cs
- EmptyEnumerable.cs
- OdbcEnvironment.cs
- IgnoreDataMemberAttribute.cs
- PolyLineSegment.cs
- DiscoveryClientChannelBase.cs
- DataControlButton.cs
- PriorityQueue.cs
- ZipPackage.cs
- OrderPreservingPipeliningMergeHelper.cs
- SiteMapDataSource.cs
- SelectionHighlightInfo.cs
- DockingAttribute.cs
- ComplexBindingPropertiesAttribute.cs
- StateMachineWorkflowInstance.cs
- SplitterCancelEvent.cs
- Context.cs
- Emitter.cs
- QueryOperator.cs
- ClosureBinding.cs
- Serializer.cs
- SoapParser.cs
- TripleDESCryptoServiceProvider.cs
- RSAOAEPKeyExchangeDeformatter.cs
- PointValueSerializer.cs
- SafePipeHandle.cs
- DirectionalLight.cs
- ProcessStartInfo.cs
- RangeBaseAutomationPeer.cs
- WhitespaceRuleReader.cs
- MouseWheelEventArgs.cs
- Attributes.cs
- ArgumentValue.cs
- MsmqIntegrationProcessProtocolHandler.cs