TypeContext
Defined in RazorEngine.dll.
Defines a type context that describes a template to compile.
Instance members
Instance member | Description |
ClassName()
Signature: unit -> string
|
Gets the class name. |
ModelType()
Signature: unit -> Type
|
Gets or sets the model type. |
Namespaces()
Signature: unit -> ISet<string>
|
Gets the set of namespace imports. |
TemplateContent()
Signature: unit -> ITemplateSource
|
Gets or sets the template content. |
TemplateType()
Signature: unit -> Type
|
Gets or sets the base template type. |