RazorEngine


FluentTemplateServiceConfiguration

Defined in RazorEngine.dll.

Defines a fluent template service configuration

Constructors

ConstructorDescription
new(config)
Signature: config:Action<IConfigurationBuilder> -> unit

Initialises a new instance of FluentTemplateServiceConfiguration.

Instance members

Instance memberDescription
Activator
Signature: IActivator
Modifiers: abstract

Gets or sets the activator.

AllowMissingPropertiesOnDynamic
Signature: bool
Modifiers: abstract

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

BaseTemplateType
Signature: Type
Modifiers: abstract

Gets the base template type.

CachingProvider
Signature: ICachingProvider
Modifiers: abstract

Gets the caching provider.

CodeInspectors
Signature: IEnumerable<ICodeInspector>
Modifiers: abstract

Gets the set of code inspectors.

CompilerServiceFactory
Signature: ICompilerServiceFactory
Modifiers: abstract

Gets or sets the compiler service factory.

Debug
Signature: bool
Modifiers: abstract

Gets whether the template service is operating in debug mode.

DisableTempFileLocking
Signature: bool
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: IEncodedStringFactory
Modifiers: abstract

Gets or sets the encoded string factory.

Language
Signature: Language
Modifiers: abstract

Gets or sets the language.

Namespaces
Signature: ISet<string>
Modifiers: abstract

Gets or sets the collection of namespaces.

ReferenceResolver
Signature: IReferenceResolver
Modifiers: abstract

Gets the reference resolver.

Resolver
Signature: ITemplateResolver
Modifiers: abstract

Gets the resolver.

TemplateManager
Signature: ITemplateManager
Modifiers: abstract

Gets the template manager.

Fork me on GitHub