Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BitmapEffectrendercontext.cs
- ObjectDataSourceFilteringEventArgs.cs
- CompressedStack.cs
- EpmSourcePathSegment.cs
- HtmlSelect.cs
- HttpInputStream.cs
- DecimalKeyFrameCollection.cs
- SQLCharsStorage.cs
- DecimalAnimationUsingKeyFrames.cs
- LabelEditEvent.cs
- PerformanceCounters.cs
- uribuilder.cs
- GetPageCompletedEventArgs.cs
- CachedFontFamily.cs
- LinkLabelLinkClickedEvent.cs
- EntityContainerEmitter.cs
- XmlSchemaAttributeGroupRef.cs
- WindowsSpinner.cs
- CharKeyFrameCollection.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ScrollEvent.cs
- NumberFunctions.cs
- TextParagraph.cs
- String.cs
- ObjectSerializerFactory.cs
- _NtlmClient.cs
- Sequence.cs
- WsdlInspector.cs
- AnnotationComponentChooser.cs
- RectangleConverter.cs
- Partitioner.cs
- CheckBoxStandardAdapter.cs
- IntranetCredentialPolicy.cs
- FixedPageAutomationPeer.cs
- RenderingBiasValidation.cs
- JoinGraph.cs
- ToolboxDataAttribute.cs
- FamilyMap.cs
- WindowsRebar.cs
- FixedDSBuilder.cs
- DataServiceBuildProvider.cs
- SizeFConverter.cs
- EntityClassGenerator.cs
- securitycriticaldataClass.cs
- AuthenticationService.cs
- MaskDescriptor.cs
- XmlSigningNodeWriter.cs
- JsonWriter.cs
- OracleConnectionFactory.cs
- Rect3DConverter.cs
- ScriptControlManager.cs
- NGCSerializationManager.cs
- InkSerializer.cs
- FormViewRow.cs
- Roles.cs
- NativeMethods.cs
- ColorAnimationUsingKeyFrames.cs
- InkPresenter.cs
- DataObjectMethodAttribute.cs
- HttpContext.cs
- SoapProcessingBehavior.cs
- PasswordDeriveBytes.cs
- ProofTokenCryptoHandle.cs
- RuntimeComponentFilter.cs
- Rectangle.cs
- XmlObjectSerializerContext.cs
- updateconfighost.cs
- InheritanceRules.cs
- CategoryNameCollection.cs
- SqlDependency.cs
- MsmqElementBase.cs
- NotifyCollectionChangedEventArgs.cs
- RtfToXamlReader.cs
- XmlAttributeOverrides.cs
- DispatchChannelSink.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- RelatedImageListAttribute.cs
- SqlAggregateChecker.cs
- ListBindableAttribute.cs
- _CacheStreams.cs
- TextElementCollectionHelper.cs
- SourceFileInfo.cs
- QilGenerator.cs
- FormViewRow.cs
- WinInet.cs
- BrowserCapabilitiesCodeGenerator.cs
- TableChangeProcessor.cs
- PropertyFilterAttribute.cs
- TextTreeFixupNode.cs
- StrokeNodeOperations2.cs
- EditorPartCollection.cs
- AmbientValueAttribute.cs
- HtmlTitle.cs
- ManagementScope.cs
- XmlUnspecifiedAttribute.cs
- SafeEventLogWriteHandle.cs
- SecureConversationVersion.cs
- CompilationUtil.cs
- IncomingWebRequestContext.cs
- PageVisual.cs