Share via


WebRazorHostFactory Class

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Creates instances of the host files.

Inheritance Hierarchy

System.Object
  System.Web.WebPages.Razor.WebRazorHostFactory

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

Syntax

'Declaration
Public Class WebRazorHostFactory
'Usage
Dim instance As WebRazorHostFactory
public class WebRazorHostFactory
public ref class WebRazorHostFactory
type WebRazorHostFactory =  class end
public class WebRazorHostFactory

The WebRazorHostFactory type exposes the following members.

Constructors

  Name Description
Public method WebRazorHostFactory This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the WebRazorHostFactory class.

Top

Methods

  Name Description
Public methodStatic member ApplyConfigurationToHost 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 methodStatic member CreateDefaultHost(String) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual path.
Public methodStatic member CreateDefaultHost(String, String) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual and physical path.
Public method CreateHost This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor host.
Public methodStatic member CreateHostFromConfig(String) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.
Public methodStatic member CreateHostFromConfig(String, String) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.
Public methodStatic member CreateHostFromConfig(RazorWebSectionGroup, String) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.
Public methodStatic member CreateHostFromConfig(RazorWebSectionGroup, String, String) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.WebPages.Razor Namespace