RazorEngine


IInternalTemplateService

Defined in RazorEngine.dll.

A internal contract for the TemplateBase class.

Instance members

Instance memberDescription
AddNamespace(ns)
Signature: ns:string -> unit
Modifiers: abstract

Adds a namespace that will be imported into the template.

Configuration
Signature: ITemplateServiceConfiguration
Modifiers: abstract

Gets the template service configuration.

CreateExecuteContext()
Signature: unit -> ExecuteContext
Modifiers: abstract

Creates a new ExecuteContext used to tracking templates.

Returns: The instance of

EncodedStringFactory
Signature: IEncodedStringFactory
Modifiers: abstract

Gets the encoded string factory.

Resolve(...)
Signature: (name:string * model:obj * modelType:Type * viewbag:DynamicViewBag * resolveType:ResolveType) -> ITemplate
Modifiers: abstract

Resolves the template, this is for internal use only

Returns:

Fork me on GitHub