TemplateContextTObject

TemplateContext<TObject> class

Represents a model object interface for a template engine.

public sealed class TemplateContext<TObject>

Properties

Name Description
Global { get; } Returns global storage of the host document. Read-only Storage.
Local { get; } Returns local storage of the current template context. Read-only Storage.
Object { get; } Returns the model object. Read-only !:TObject.
Output { get; } Returns collection of output elements of the host document. Read-only Output.

Methods

Name Description
SubModel<TSubModel>(TSubModel)

See Also