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)

'Declaration
Public Shared Sub ApplyConfigurationToHost ( _
	config As RazorPagesSection, _
	host As WebPageRazorHost _
)
'Usage
Dim config As RazorPagesSection 
Dim host As WebPageRazorHost 

WebRazorHostFactory.ApplyConfigurationToHost(config, _
	host)

Parameters

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