WebRazorHostFactory.ApplyConfigurationToHost Metoda

Definice

Tento typ/člen podporuje infrastrukturu rozhraní .NET Framework a není určen k použití přímo z vašeho kódu. Načte informace o popisu služby z konfiguračního souboru a použije je na hostitele.

public static void ApplyConfigurationToHost (System.Web.WebPages.Razor.Configuration.RazorPagesSection config, System.Web.WebPages.Razor.WebPageRazorHost host);
static member ApplyConfigurationToHost : System.Web.WebPages.Razor.Configuration.RazorPagesSection * System.Web.WebPages.Razor.WebPageRazorHost -> unit
Public Shared Sub ApplyConfigurationToHost (config As RazorPagesSection, host As WebPageRazorHost)

Parametry

config
RazorPagesSection

Konfigurace.

host
WebPageRazorHost

Hostitel webové stránky Razor.

Platí pro