Share via


RazorBuildProvider.CreateHost Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor engine host instance base on web configuration.

protected internal virtual System.Web.WebPages.Razor.WebPageRazorHost CreateHost();
abstract member CreateHost : unit -> System.Web.WebPages.Razor.WebPageRazorHost
override this.CreateHost : unit -> System.Web.WebPages.Razor.WebPageRazorHost
Protected Friend Overridable Function CreateHost () As WebPageRazorHost

Returns

A Razor engine host instance.

Applies to