RazorTemplateEngineOptions Class

Definition

Options for code generation in the RazorTemplateEngine.

public ref class RazorTemplateEngineOptions sealed
public sealed class RazorTemplateEngineOptions
type RazorTemplateEngineOptions = class
Public NotInheritable Class RazorTemplateEngineOptions
Inheritance
RazorTemplateEngineOptions

Constructors

RazorTemplateEngineOptions()

Properties

DefaultImports

Gets or sets the default set of imports.

ImportsFileName

Gets or sets the file name of the imports file (e.g. _ViewImports.cshtml).

Applies to