RazorEngine


RazorEngineConfigurationSection

Defined in RazorEngine.dll.

Defines the main configuration section for the RazorEngine.

Constructors

ConstructorDescription
new()
Signature: unit -> unit

Instance members

Instance memberDescription
ActivatorType
Signature: string

Gets the activator type.

AllowMissingPropertiesOnDynamic
Signature: bool

Gets or sets whether to allow missing properties on dynamic models.

CompilerServiceFactoryType
Signature: string

Gets the compiler service factory type.

DefaultLanguage()
Signature: unit -> unit

Gets or sets the default language.

DisableTempFileLocking
Signature: bool

Gets or sets whether to allow missing properties on dynamic models.

Namespaces
Signature: NamespaceConfigurationElementCollection

Gets the collection of namespaces.

ReferenceResolverType
Signature: string

Gets the compiler service factory type.

TemplateManagerType
Signature: string

Gets the template resolver type.

TemplateResolverType
Signature: string

Gets the template resolver type.

TemplateServices
Signature: TemplateServiceConfigurationElementCollection

Gets the collection of template service configurations.

Static members

Static memberDescription
GetConfiguration()
Signature: unit -> RazorEngineConfigurationSection

Gets an instance of RazorEngineConfigurationSection that represents the current configuration.

Returns: An instance of , or null if no configuration is specified.

Fork me on GitHub