RazorBuildProvider Class

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

Represents a build provider for Razor.

System.Object
  System.Web.Compilation.BuildProvider
    System.Web.WebPages.Razor.RazorBuildProvider

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

'Declaration
Public Class RazorBuildProvider _
	Inherits BuildProvider
'Usage
Dim instance As RazorBuildProvider

The RazorBuildProvider type exposes the following members.

  NameDescription
Public methodRazorBuildProviderThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the RazorBuildProvider class.
Top

  NameDescription
Public propertyAssemblyBuilderThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly builder for Razor environment.
Public propertyCodeCompilerTypeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the compiler settings for Razor environment. (Overrides BuildProvider.CodeCompilerType.)
Protected propertyReferencedAssemblies (Inherited from BuildProvider.)
Public propertyVirtualPathThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path of the source code.
Public propertyVirtualPathDependenciesThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the collection of virtual path for the dependencies. (Overrides BuildProvider.VirtualPathDependencies.)
Top

  NameDescription
Public methodAddVirtualPathDependencyThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a virtual path dependency to the collection.
Protected methodCreateHostThis 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.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGenerateCodeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates the code using the provided assembly builder. (Overrides BuildProvider.GenerateCode(AssemblyBuilder).)
Protected methodGetCodeCompileUnit (Inherited from BuildProvider.)
Public methodGetCustomString (Inherited from BuildProvider.)
Protected methodGetDefaultCompilerType (Inherited from BuildProvider.)
Protected methodGetDefaultCompilerTypeForLanguage (Inherited from BuildProvider.)
Public methodGetGeneratedTypeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the type of the generated code. (Overrides BuildProvider.GetGeneratedType(CompilerResults).)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetHostFromConfigThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates the Razor engine host instance based on the web configuration.
Public methodGetResultFlags (Inherited from BuildProvider.)
Public methodGetType (Inherited from Object.)
Protected methodInternalOpenReaderThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Opens an internal text reader.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnBeforeCompilePathThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Raises the CompilingPath event.
Protected methodOpenReader (Inherited from BuildProvider.)
Protected methodOpenReader(String) (Inherited from BuildProvider.)
Protected methodOpenStream (Inherited from BuildProvider.)
Protected methodOpenStream(String) (Inherited from BuildProvider.)
Public methodProcessCompileErrors (Inherited from BuildProvider.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventStatic memberCodeGenerationCompletedThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when code generation is completed.
Public eventStatic memberCodeGenerationStartedThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when code generation is started.
Public eventStatic memberCompilingPathThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when compiling with a new virtual path.
Top

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