internal static RuntimeConfig GetConfig(VirtualPath path)
 {
     if (!HttpConfigurationSystem.UseHttpConfigurationSystem)
     {
         return GetClientRuntimeConfig();
     }
     return CachedPathData.GetVirtualPathData(path, true).RuntimeConfig;
 }
        // GetSection
        //
        // Get the Config for a specific path
        //
        static internal object GetSection(string sectionName, VirtualPath path)
        {
            Debug.Assert(UseHttpConfigurationSystem, "UseHttpConfigurationSystem");

            CachedPathData pathData;

            pathData = CachedPathData.GetVirtualPathData(path, true);

            return(pathData.ConfigRecord.GetSection(sectionName));
        }
 internal static object GetSection(string sectionName, VirtualPath path)
 {
     return(CachedPathData.GetVirtualPathData(path, true).ConfigRecord.GetSection(sectionName));
 }