Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / Configuration / RuntimeConfigLKG.cs / 1 / RuntimeConfigLKG.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Collections; using System.Configuration; using System.Configuration.Internal; using System.Security.Permissions; using System.Web; using System.Web.Util; using System.Web.Hosting; using System.Web.Configuration; using ClassHttpRuntime=System.Web.HttpRuntime; using ClassHostingEnvironment=System.Web.Hosting.HostingEnvironment; namespace System.Web.Configuration { // // RuntimeConfig class that implements LKG functionality. // internal class RuntimeConfigLKG : RuntimeConfig { // // Note that if configRecord is null, we are the LKG for the ClientRuntimeConfig. // internal RuntimeConfigLKG(IInternalConfigRecord configRecord) : base(configRecord, true) {} [ConfigurationPermission(SecurityAction.Assert, Unrestricted=true)] protected override object GetSectionObject(string sectionName) { if (_configRecord != null) { return _configRecord.GetLkgSection(sectionName); } else { try { return ConfigurationManager.GetSection(sectionName); } catch { return null; } } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Collections; using System.Configuration; using System.Configuration.Internal; using System.Security.Permissions; using System.Web; using System.Web.Util; using System.Web.Hosting; using System.Web.Configuration; using ClassHttpRuntime=System.Web.HttpRuntime; using ClassHostingEnvironment=System.Web.Hosting.HostingEnvironment; namespace System.Web.Configuration { // // RuntimeConfig class that implements LKG functionality. // internal class RuntimeConfigLKG : RuntimeConfig { // // Note that if configRecord is null, we are the LKG for the ClientRuntimeConfig. // internal RuntimeConfigLKG(IInternalConfigRecord configRecord) : base(configRecord, true) {} [ConfigurationPermission(SecurityAction.Assert, Unrestricted=true)] protected override object GetSectionObject(string sectionName) { if (_configRecord != null) { return _configRecord.GetLkgSection(sectionName); } else { try { return ConfigurationManager.GetSection(sectionName); } catch { return null; } } } } } // 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
- MetabaseReader.cs
- ParameterToken.cs
- NoClickablePointException.cs
- PrintingPermission.cs
- BridgeDataReader.cs
- DecodeHelper.cs
- DataTableNewRowEvent.cs
- SpeechAudioFormatInfo.cs
- InputBindingCollection.cs
- LicenseException.cs
- GridViewRowPresenter.cs
- FlowLayout.cs
- CngAlgorithm.cs
- SelfIssuedAuthRSACryptoProvider.cs
- TextBoxLine.cs
- ValueSerializer.cs
- CircleHotSpot.cs
- XmlDigitalSignatureProcessor.cs
- DataTableExtensions.cs
- WorkflowFileItem.cs
- CatalogPartDesigner.cs
- FlagsAttribute.cs
- IndentedWriter.cs
- FormClosingEvent.cs
- Int32EqualityComparer.cs
- RelOps.cs
- DataControlImageButton.cs
- RequestReplyCorrelator.cs
- SafeNativeMethods.cs
- PictureBoxDesigner.cs
- Preprocessor.cs
- URLIdentityPermission.cs
- QuaternionKeyFrameCollection.cs
- RelatedView.cs
- recordstate.cs
- WebPartCloseVerb.cs
- FacetChecker.cs
- DispatcherTimer.cs
- SettingsPropertyValueCollection.cs
- PropertyGridCommands.cs
- InspectionWorker.cs
- ProcessModule.cs
- FocusManager.cs
- _ConnectionGroup.cs
- InternalConfigEventArgs.cs
- SAPICategories.cs
- SuppressMergeCheckAttribute.cs
- ApplicationException.cs
- SiteMapHierarchicalDataSourceView.cs
- SessionViewState.cs
- StopStoryboard.cs
- WebBrowserProgressChangedEventHandler.cs
- MessageBox.cs
- ZoneButton.cs
- CommandHelper.cs
- TextMarkerSource.cs
- EqualityComparer.cs
- DocumentSchemaValidator.cs
- ImageListStreamer.cs
- ActivityMarkupSerializer.cs
- MemberAccessException.cs
- GACIdentityPermission.cs
- RadioButtonFlatAdapter.cs
- RayMeshGeometry3DHitTestResult.cs
- Classification.cs
- NamespaceQuery.cs
- CommandConverter.cs
- NameTable.cs
- XPathNodeList.cs
- StringValueConverter.cs
- SessionStateModule.cs
- AppDomainUnloadedException.cs
- EntityWithKeyStrategy.cs
- ListManagerBindingsCollection.cs
- DataGridViewColumnCollection.cs
- Inflater.cs
- EncoderNLS.cs
- EntityProviderFactory.cs
- DesignBindingPicker.cs
- IdentityHolder.cs
- InputQueue.cs
- DesignerAutoFormatCollection.cs
- MexHttpsBindingCollectionElement.cs
- Point3DCollectionConverter.cs
- BitFlagsGenerator.cs
- coordinatorfactory.cs
- EndPoint.cs
- TimeIntervalCollection.cs
- XmlDataDocument.cs
- DataException.cs
- MimeReflector.cs
- StorageEntitySetMapping.cs
- AttachedPropertyDescriptor.cs
- NeutralResourcesLanguageAttribute.cs
- ConversionValidationRule.cs
- MenuStrip.cs
- State.cs
- TabControlDesigner.cs
- MenuItem.cs
- CommentEmitter.cs