Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Net / System / Net / Configuration / NetSectionGroup.cs / 1 / NetSectionGroup.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.Configuration { using System.Configuration; ////// Summary description for NetSectionGroup. /// public sealed class NetSectionGroup : ConfigurationSectionGroup { public NetSectionGroup() {} // public properties [ConfigurationProperty(ConfigurationStrings.AuthenticationModulesSectionName)] public AuthenticationModulesSection AuthenticationModules { get { return (AuthenticationModulesSection)Sections[ConfigurationStrings.AuthenticationModulesSectionName]; } } [ConfigurationProperty(ConfigurationStrings.ConnectionManagementSectionName)] public ConnectionManagementSection ConnectionManagement { get { return (ConnectionManagementSection)Sections[ConfigurationStrings.ConnectionManagementSectionName]; } } [ConfigurationProperty(ConfigurationStrings.DefaultProxySectionName)] public DefaultProxySection DefaultProxy { get { return (DefaultProxySection)Sections[ConfigurationStrings.DefaultProxySectionName]; } } #if !FEATURE_PAL public MailSettingsSectionGroup MailSettings { get { return (MailSettingsSectionGroup)SectionGroups[ConfigurationStrings.MailSettingsSectionName]; } } #endif // !FEATURE_PAL static public NetSectionGroup GetSectionGroup(Configuration config) { if (config == null) throw new ArgumentNullException("config"); return config.GetSectionGroup(ConfigurationStrings.SectionGroupName) as NetSectionGroup; } [ConfigurationProperty(ConfigurationStrings.RequestCachingSectionName)] public RequestCachingSection RequestCaching { get { return (RequestCachingSection)Sections[ConfigurationStrings.RequestCachingSectionName]; } } [ConfigurationProperty(ConfigurationStrings.SettingsSectionName)] public SettingsSection Settings { get { return (SettingsSection)Sections[ConfigurationStrings.SettingsSectionName]; } } [ConfigurationProperty(ConfigurationStrings.WebRequestModulesSectionName)] public WebRequestModulesSection WebRequestModules { get { return (WebRequestModulesSection)Sections[ConfigurationStrings.WebRequestModulesSectionName]; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SizeFConverter.cs
- XmlDictionaryReader.cs
- EditorPartCollection.cs
- ReceiveContextCollection.cs
- BuildProvidersCompiler.cs
- _ConnectOverlappedAsyncResult.cs
- PasswordBox.cs
- CodeCommentStatementCollection.cs
- DesignBindingValueUIHandler.cs
- SqlProviderServices.cs
- ValueUnavailableException.cs
- COSERVERINFO.cs
- FileAuthorizationModule.cs
- ProjectionQueryOptionExpression.cs
- WebReferencesBuildProvider.cs
- PersonalizationProviderCollection.cs
- MediaElementAutomationPeer.cs
- SmtpTransport.cs
- Point3DIndependentAnimationStorage.cs
- OutputCacheProfile.cs
- TextSpan.cs
- KeyValuePair.cs
- ContextBase.cs
- WebPartCancelEventArgs.cs
- ResourceCollectionInfo.cs
- UInt32.cs
- DoubleCollection.cs
- _RequestCacheProtocol.cs
- DataObjectCopyingEventArgs.cs
- SoapUnknownHeader.cs
- Scripts.cs
- XmlArrayItemAttribute.cs
- JulianCalendar.cs
- LineSegment.cs
- CollectionBase.cs
- TagPrefixCollection.cs
- InternalResources.cs
- CircleHotSpot.cs
- CallInfo.cs
- UIElementCollection.cs
- CryptoApi.cs
- DllNotFoundException.cs
- TransactionFlowProperty.cs
- ReflectTypeDescriptionProvider.cs
- PackageProperties.cs
- FixedStringLookup.cs
- HitTestResult.cs
- While.cs
- TextBlockAutomationPeer.cs
- WinEventHandler.cs
- InternalResources.cs
- SystemNetHelpers.cs
- CodeExpressionCollection.cs
- PointHitTestParameters.cs
- StylusPointDescription.cs
- ClientScriptManagerWrapper.cs
- TemplateBindingExtension.cs
- OutputCacheModule.cs
- WorkflowRuntimeEndpoint.cs
- GridViewAutomationPeer.cs
- MenuItem.cs
- IncrementalReadDecoders.cs
- ColorContext.cs
- CellParagraph.cs
- GridSplitterAutomationPeer.cs
- KnownColorTable.cs
- SortedDictionary.cs
- SequenceQuery.cs
- ConfigXmlText.cs
- HttpSysSettings.cs
- CheckBox.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TextProviderWrapper.cs
- templategroup.cs
- FigureHelper.cs
- ChameleonKey.cs
- AnnotationResource.cs
- MemberDescriptor.cs
- XmlILIndex.cs
- SafeFileMappingHandle.cs
- StandardOleMarshalObject.cs
- DataGridParentRows.cs
- ConnectionsZone.cs
- PassportAuthenticationEventArgs.cs
- HtmlGenericControl.cs
- RadioButton.cs
- DrawingBrush.cs
- CodeTryCatchFinallyStatement.cs
- ChildDocumentBlock.cs
- WebCategoryAttribute.cs
- DecoderReplacementFallback.cs
- SqlMultiplexer.cs
- BamlResourceSerializer.cs
- ContainerVisual.cs
- AttachedPropertyInfo.cs
- AnalyzedTree.cs
- DataMemberAttribute.cs
- Span.cs
- LicenseException.cs
- VisemeEventArgs.cs