WebRazorHostFactory.ApplyConfigurationToHost Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Loads the service description information from the configuration file and applies it to the host.

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)

Parameters

config
RazorPagesSection

The configuration.

host
WebPageRazorHost

The webpage razor host.

Applies to