WebRazorHostFactory.ApplyConfigurationToHost Method

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.

Namespace:  System.Web.WebPages.Razor
Assembly:  System.Web.WebPages.Razor (in System.Web.WebPages.Razor.dll)

public static function ApplyConfigurationToHost(
	config : RazorPagesSection, 
	host : WebPageRazorHost
)

Parameters

config
Type: System.Web.WebPages.Razor.Configuration.RazorPagesSection
The configuration.
host
Type: System.Web.WebPages.Razor.WebPageRazorHost
The webpage razor host.
Show: