Udostępnij za pośrednictwem


WebRazorHostFactory.ApplyConfigurationToHost Metoda

Definicja

Ten typ/element członkowski obsługuje infrastrukturę .NET Framework i nie jest przeznaczony do użycia bezpośrednio z kodu. Ładuje informacje o opisie usługi z pliku konfiguracji i stosuje je do hosta.

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

Konfiguracja.

host
WebPageRazorHost

Host razor strony internetowej.

Dotyczy