Skip to main content

IRazorConfig

Assembly: ServiceStack.Razor.dll​
View Source​
Declaration
public interface IRazorConfig

Properties​

RazorFileExtension​

View Source​
Declaration
string RazorFileExtension { get; }

PageBaseType​

View Source​
Declaration
Type PageBaseType { get; }

DefaultPageName​

View Source​
Declaration
string DefaultPageName { get; }

ScanRootPath​

View Source​
Declaration
string ScanRootPath { get; }

LoadFromAssemblies​

View Source​
Declaration
List<Assembly> LoadFromAssemblies { get; }

WebHostUrl​

View Source​
Declaration
string WebHostUrl { get; }

Deny​

View Source​
Declaration
List<Predicate<string>> Deny { get; }

PrecompilePages​

View Source​
Declaration
bool? PrecompilePages { get; set; }

WaitForPrecompilationOnStartup​

View Source​
Declaration
bool? WaitForPrecompilationOnStartup { get; set; }