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
- HttpModuleCollection.cs
- CustomAttributeBuilder.cs
- WmlCalendarAdapter.cs
- OleDbInfoMessageEvent.cs
- DataGridRow.cs
- StringToken.cs
- MimeMapping.cs
- ReflectPropertyDescriptor.cs
- DependencyPropertyHelper.cs
- StructuralType.cs
- SafeFileMappingHandle.cs
- TcpClientCredentialType.cs
- EditorZoneBase.cs
- PeerPresenceInfo.cs
- XPathExpr.cs
- SqlFunctionAttribute.cs
- UnionExpr.cs
- DataGrid.cs
- ToolStripSystemRenderer.cs
- Visitors.cs
- ScriptMethodAttribute.cs
- EventQueueState.cs
- NumericPagerField.cs
- SqlErrorCollection.cs
- SpecialFolderEnumConverter.cs
- RegularExpressionValidator.cs
- HttpServerVarsCollection.cs
- Directory.cs
- RectangleGeometry.cs
- HttpWebRequest.cs
- oledbmetadatacolumnnames.cs
- EntityDataSourceMemberPath.cs
- TraceContextEventArgs.cs
- DataGridCellClipboardEventArgs.cs
- CodeEventReferenceExpression.cs
- Attributes.cs
- DeviceContext.cs
- SqlBooleanizer.cs
- DoubleConverter.cs
- SessionPageStatePersister.cs
- UnionQueryOperator.cs
- CqlGenerator.cs
- InheritablePropertyChangeInfo.cs
- securitycriticaldata.cs
- ControlPager.cs
- CardSpaceSelector.cs
- ColumnMapTranslator.cs
- BinaryWriter.cs
- TreeViewImageKeyConverter.cs
- ProfileSettingsCollection.cs
- SubordinateTransaction.cs
- AdapterDictionary.cs
- ImmutableObjectAttribute.cs
- TableRow.cs
- CellPartitioner.cs
- HelpInfo.cs
- LocalizationCodeDomSerializer.cs
- JoinCqlBlock.cs
- StorageComplexPropertyMapping.cs
- ApplicationSettingsBase.cs
- SignedXml.cs
- ExtensionQuery.cs
- AdRotatorDesigner.cs
- CodeCatchClause.cs
- DbConvert.cs
- UInt32Storage.cs
- DesignerActionTextItem.cs
- RawStylusSystemGestureInputReport.cs
- WebPartsPersonalization.cs
- HintTextMaxWidthConverter.cs
- MessageBox.cs
- XmlSignatureProperties.cs
- PerformanceCounter.cs
- ZipIOModeEnforcingStream.cs
- ConcurrencyMode.cs
- HttpHandlersSection.cs
- WebConfigurationHostFileChange.cs
- _NegoState.cs
- AccessibleObject.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- HasCopySemanticsAttribute.cs
- DiscardableAttribute.cs
- ImpersonationContext.cs
- HtmlInputReset.cs
- HandleTable.cs
- TransformProviderWrapper.cs
- CodeCatchClauseCollection.cs
- ImageMap.cs
- HttpResponseHeader.cs
- BoundsDrawingContextWalker.cs
- XmlMemberMapping.cs
- StrongNameSignatureInformation.cs
- ScopelessEnumAttribute.cs
- WebBrowserProgressChangedEventHandler.cs
- XmlSortKey.cs
- ThrowOnMultipleAssignment.cs
- RightsManagementInformation.cs
- LinkArea.cs
- TypeDescriptionProviderAttribute.cs
- ProviderSettingsCollection.cs