Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / RuntimeConfigLKG.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventWaitHandle.cs
- Adorner.cs
- FrameSecurityDescriptor.cs
- TTSVoice.cs
- TextRunCacheImp.cs
- ArrayWithOffset.cs
- MSHTMLHost.cs
- XmlMemberMapping.cs
- CompiledQueryCacheKey.cs
- AttributedMetaModel.cs
- AnnotationAdorner.cs
- ValueQuery.cs
- SafeProcessHandle.cs
- XmlExceptionHelper.cs
- FilterException.cs
- CacheMemory.cs
- TableLayoutPanel.cs
- DataBoundLiteralControl.cs
- EventRoute.cs
- CommonObjectSecurity.cs
- VisualTransition.cs
- HtmlPanelAdapter.cs
- SqlCharStream.cs
- Codec.cs
- ActiveXHost.cs
- GridViewAutomationPeer.cs
- ProtocolViolationException.cs
- TableLayoutStyle.cs
- Lease.cs
- AsymmetricCryptoHandle.cs
- ACL.cs
- WindowsTokenRoleProvider.cs
- FixedDocumentPaginator.cs
- SQLCharsStorage.cs
- ResourceProperty.cs
- HostExecutionContextManager.cs
- BulletChrome.cs
- FixedPage.cs
- StylusButtonEventArgs.cs
- StringStorage.cs
- SimpleTypesSurrogate.cs
- HyperLinkStyle.cs
- SendSecurityHeader.cs
- ParenthesizePropertyNameAttribute.cs
- TextSelection.cs
- DataObjectEventArgs.cs
- ContextStack.cs
- DescendantOverDescendantQuery.cs
- DesignerHierarchicalDataSourceView.cs
- CharConverter.cs
- StructuredTypeEmitter.cs
- ZipIOExtraFieldZip64Element.cs
- TextFormatterImp.cs
- DrawingCollection.cs
- VisualBasicSettingsHandler.cs
- MetadataCache.cs
- smtppermission.cs
- CacheMemory.cs
- ClientTargetCollection.cs
- ColorTranslator.cs
- ArrayElementGridEntry.cs
- ProcessProtocolHandler.cs
- AxHost.cs
- OleDbMetaDataFactory.cs
- ListViewInsertEventArgs.cs
- ElementUtil.cs
- ContextInformation.cs
- HtmlLink.cs
- SqlRowUpdatingEvent.cs
- XmlMtomWriter.cs
- DataPointer.cs
- MatrixAnimationUsingKeyFrames.cs
- IItemProperties.cs
- SqlNode.cs
- COM2TypeInfoProcessor.cs
- ScriptModule.cs
- NewArrayExpression.cs
- Base64Encoding.cs
- ToolStripSystemRenderer.cs
- DBCommand.cs
- DriveNotFoundException.cs
- BitmapImage.cs
- HtmlTableCellCollection.cs
- XPathNodeList.cs
- WebServiceBindingAttribute.cs
- ParameterBinding.cs
- ListCollectionView.cs
- GridPatternIdentifiers.cs
- GridViewCellAutomationPeer.cs
- NonPrimarySelectionGlyph.cs
- XmlSchemaInclude.cs
- ExpressionBindings.cs
- StateDesigner.LayoutSelectionGlyph.cs
- TextAdaptor.cs
- LiteralTextParser.cs
- EventArgs.cs
- WindowCollection.cs
- SafeArrayTypeMismatchException.cs
- ModuleBuilderData.cs
- ControlType.cs