ReadOnlyTemplateServiceConfiguration
Provides a readonly view of a configuration, and safe-copies all references.
Constructors
Constructor | Description |
new(config)
Signature: config:ITemplateServiceConfiguration -> unit
|
Create a new readonly view (and copy) of the given configuration. |
Instance members
Instance member | Description |
Activator
Signature: IActivator
Modifiers: abstract |
Gets 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 code inspectors. |
CompilerServiceFactory
Signature: ICompilerServiceFactory
Modifiers: abstract |
Gets 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 the encoded string factory. |
Language
Signature: Language
Modifiers: abstract |
Gets the language. |
Namespaces
Signature: ISet<string>
Modifiers: abstract |
Gets the namespaces. |
ReferenceResolver
Signature: IReferenceResolver
Modifiers: abstract |
Gets the reference resolver. |
Resolver
Signature: ITemplateResolver
Modifiers: abstract |
Gets the template resolver. |
TemplateManager
Signature: ITemplateManager
Modifiers: abstract |
Gets the template resolver. |