RazorEngine


TypeContext

Defined in RazorEngine.dll.

Defines a type context that describes a template to compile.

Instance members

Instance memberDescription
AddReferences(references)
Signature: references:IEnumerable<CompilerReference> -> unit

Adds compiler references to the current dynamic assembly resolve list.

ClassName()
Signature: unit -> unit

Gets the class name.

ModelType()
Signature: unit -> unit

Gets or sets the model type.

Namespaces()
Signature: unit -> unit

Gets the set of namespace imports.

TemplateContent()
Signature: unit -> unit

Gets or sets the template content.

TemplateType()
Signature: unit -> unit

Gets or sets the base template type.

Fork me on GitHub