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
- DataColumnPropertyDescriptor.cs
- DataControlPagerLinkButton.cs
- CodeStatementCollection.cs
- _UriSyntax.cs
- WebPartConnectionsDisconnectVerb.cs
- MatrixConverter.cs
- XmlSortKeyAccumulator.cs
- UnsignedPublishLicense.cs
- MouseButton.cs
- CodeDomSerializationProvider.cs
- CustomCategoryAttribute.cs
- CloseCryptoHandleRequest.cs
- XmlQueryOutput.cs
- DllNotFoundException.cs
- Clock.cs
- DataGridViewButtonCell.cs
- TextRangeBase.cs
- TraversalRequest.cs
- DbConnectionHelper.cs
- CodeObject.cs
- CompoundFileDeflateTransform.cs
- Tile.cs
- TemplatePropertyEntry.cs
- ModelPropertyCollectionImpl.cs
- CqlLexer.cs
- Utils.cs
- SqlParameterizer.cs
- Odbc32.cs
- PropagatorResult.cs
- MobileFormsAuthentication.cs
- SourceLineInfo.cs
- PassportAuthentication.cs
- SchemaImporterExtensionsSection.cs
- UriWriter.cs
- PropertyNames.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- PrintingPermissionAttribute.cs
- Context.cs
- RolePrincipal.cs
- KeyFrames.cs
- SqlDataSourceEnumerator.cs
- IgnoreDeviceFilterElement.cs
- DbParameterCollectionHelper.cs
- X509UI.cs
- DataGridViewHitTestInfo.cs
- DomNameTable.cs
- URLEditor.cs
- WindowsGraphics2.cs
- Converter.cs
- DomainConstraint.cs
- TextServicesHost.cs
- MatrixCamera.cs
- RSAProtectedConfigurationProvider.cs
- DefaultPropertyAttribute.cs
- ArrayElementGridEntry.cs
- HtmlHead.cs
- GeometryDrawing.cs
- ProjectionCamera.cs
- AnnotationDocumentPaginator.cs
- KeyedHashAlgorithm.cs
- InsufficientMemoryException.cs
- QueryPageSettingsEventArgs.cs
- CategoryAttribute.cs
- AdornerLayer.cs
- HostedHttpContext.cs
- GetReadStreamResult.cs
- XmlDataSourceView.cs
- XmlAttributeCollection.cs
- StubHelpers.cs
- AuthenticationConfig.cs
- TraceRecord.cs
- ProcessHostFactoryHelper.cs
- NominalTypeEliminator.cs
- ListenerSessionConnection.cs
- FlatButtonAppearance.cs
- HtmlControl.cs
- ChangeBlockUndoRecord.cs
- AssemblyNameProxy.cs
- Point3D.cs
- Bidi.cs
- GeneralTransform3D.cs
- AssemblyResolver.cs
- RSAPKCS1SignatureDeformatter.cs
- TcpSocketManager.cs
- AppModelKnownContentFactory.cs
- TreeChangeInfo.cs
- OutputScopeManager.cs
- XmlSchemaValidationException.cs
- AssemblyGen.cs
- HTTPNotFoundHandler.cs
- QilScopedVisitor.cs
- GridViewColumnCollectionChangedEventArgs.cs
- StorageEntitySetMapping.cs
- XPathNodeHelper.cs
- AssemblyAttributes.cs
- ErrorStyle.cs
- RangeValuePattern.cs
- ModelItemExtensions.cs
- GenericRootAutomationPeer.cs
- MultipleFilterMatchesException.cs