RazorEngine


XmlTemplateServiceConfiguration

Defined in RazorEngine.dll.

Represents a template service configuration that supports the xml configuration mechanism.

Constructors

ConstructorDescription
new(name)
Signature: name:string -> unit

Initialises a new instance of XmlTemplateServiceConfiguration.

Instance members

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

Gets 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 the base template type.

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

Gets the caching provider.

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

Gets the code inspectors.

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

Gets 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 the encoded string factory.

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

Gets the language.

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

Gets the namespaces.

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

Gets the reference resolver.

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

Gets the template resolver.

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

Gets the template resolver.

Fork me on GitHub