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
- ServiceContractViewControl.Designer.cs
- StrokeCollectionConverter.cs
- ActivityCodeDomSerializationManager.cs
- Clause.cs
- TraceListener.cs
- MenuAdapter.cs
- TypeBuilderInstantiation.cs
- BrowserCapabilitiesCompiler.cs
- SafeNativeMethods.cs
- Query.cs
- ByteViewer.cs
- HiddenFieldPageStatePersister.cs
- SafeCryptoHandles.cs
- ExpandableObjectConverter.cs
- ModuleConfigurationInfo.cs
- KeyProperty.cs
- DrawingAttributesDefaultValueFactory.cs
- SendMailErrorEventArgs.cs
- Model3DGroup.cs
- IDataContractSurrogate.cs
- FullTrustAssembliesSection.cs
- CounterCreationData.cs
- TargetInvocationException.cs
- EntityContainerRelationshipSet.cs
- GridViewAutomationPeer.cs
- BitmapData.cs
- BamlVersionHeader.cs
- BaseCodeDomTreeGenerator.cs
- FileSecurity.cs
- StreamInfo.cs
- ValueOfAction.cs
- TextServicesHost.cs
- HMACMD5.cs
- PrintPreviewDialog.cs
- ICspAsymmetricAlgorithm.cs
- EditorAttribute.cs
- Activity.cs
- ModelEditingScope.cs
- HttpBrowserCapabilitiesWrapper.cs
- Publisher.cs
- UTF32Encoding.cs
- SamlSubjectStatement.cs
- TextRangeBase.cs
- OleDbMetaDataFactory.cs
- AncillaryOps.cs
- HtmlContainerControl.cs
- MetabaseServerConfig.cs
- ScrollChrome.cs
- StackSpiller.Bindings.cs
- ControlHelper.cs
- CookieParameter.cs
- IfAction.cs
- WCFBuildProvider.cs
- OuterGlowBitmapEffect.cs
- FormClosedEvent.cs
- DynamicILGenerator.cs
- ExpressionReplacer.cs
- MaskedTextBoxDesigner.cs
- SqlProfileProvider.cs
- XamlPathDataSerializer.cs
- iisPickupDirectory.cs
- DesignerOptionService.cs
- CollectionBuilder.cs
- ListViewCommandEventArgs.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- XsltArgumentList.cs
- ClientEventManager.cs
- XmlDownloadManager.cs
- KeyedHashAlgorithm.cs
- GraphicsContext.cs
- HtmlGenericControl.cs
- HttpCachePolicy.cs
- UnionCodeGroup.cs
- DisplayMemberTemplateSelector.cs
- XsdBuildProvider.cs
- TextStore.cs
- _TransmitFileOverlappedAsyncResult.cs
- SafeLocalMemHandle.cs
- ReadOnlyHierarchicalDataSource.cs
- XamlReader.cs
- DataGridLength.cs
- ExpandSegment.cs
- EnumerableRowCollectionExtensions.cs
- WinEventTracker.cs
- SkipQueryOptionExpression.cs
- SystemInfo.cs
- NetworkCredential.cs
- PropertySourceInfo.cs
- BuildProvider.cs
- AttributeCollection.cs
- Int16Converter.cs
- XmlCharCheckingReader.cs
- ExpandSegmentCollection.cs
- UnitySerializationHolder.cs
- HyperLink.cs
- IdentityReference.cs
- XmlArrayAttribute.cs
- StrokeCollectionDefaultValueFactory.cs
- SessionEndingEventArgs.cs
- ProcessHost.cs