WebRazorHostFactory.ApplyConfigurationToHost Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.