RazorEngine


TemplateServiceConfiguration

Defined in RazorEngine.dll.

Provides a default implementation of a template service configuration.

Constructors

ConstructorDescription
new()
Signature: unit -> unit

Initialises a new instance of TemplateServiceConfiguration.

Instance members

Instance memberDescription
Activator()
Signature: unit -> unit
Modifiers: abstract

Gets or sets the activator.

AllowMissingPropertiesOnDynamic()
Signature: unit -> unit
Modifiers: abstract

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

BaseTemplateType()
Signature: unit -> unit
Modifiers: abstract

Gets or sets the base template type.

CachingProvider()
Signature: unit -> unit
Modifiers: abstract

Gets or sets the caching provider.

CodeInspectors()
Signature: unit -> unit

Gets the set of code inspectors.

CompilerServiceFactory()
Signature: unit -> unit
Modifiers: abstract

Gets or sets the compiler service factory.

Debug()
Signature: unit -> unit
Modifiers: abstract

Gets whether the template service is operating in debug mode.

DisableTempFileLocking()
Signature: unit -> unit
Modifiers: abstract

Loads all dynamic assemblies with Assembly.Load(byte[]). This prevents temp files from being locked (which makes it impossible for RazorEngine to delete them). At the same time this completely shuts down any sandboxing/security. Use this only if you have a limited amount of static templates (no modifications on rumtime), which you fully trust and when a seperate AppDomain is no solution for you!. This option will also hurt debugging. OK, YOU HAVE BEEN WARNED.

EncodedStringFactory()
Signature: unit -> unit
Modifiers: abstract

Gets or sets the encoded string factory.

Language()
Signature: unit -> unit
Modifiers: abstract

Gets or sets the language.

Namespaces()
Signature: unit -> unit
Modifiers: abstract

Gets or sets the collection of namespaces.

ReferenceResolver()
Signature: unit -> unit
Modifiers: abstract

Gets or sets the reference resolver

Resolver()
Signature: unit -> unit
Modifiers: abstract

Gets or sets the template resolver.

TemplateManager()
Signature: unit -> unit
Modifiers: abstract

Gets or sets the template resolver.

Fork me on GitHub