Freigeben über


WebRazorHostFactory.ApplyConfigurationToHost Methode

Definition

Dieser Typ/Member unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code vorgesehen. Lädt die Dienstbeschreibungsinformationen aus der Konfigurationsdatei und wendet sie auf den Host an.

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)

Parameter

config
RazorPagesSection

Die Konfiguration.

host
WebPageRazorHost

Der Razor-Host der Webseite.

Gilt für: