Interface IGetsRootExpressionContext
A service which creates the root ExpressionContext for a document and rendering request.
Namespace: ZptSharp.Rendering
Assembly: ZptSharp.Abstractions.dll
Syntax
public interface IGetsRootExpressionContext
Methods
| Improve this Doc View SourceGetExpressionContext(IDocument, Object)
Gets the root expression context for the request.
Declaration
ExpressionContext GetExpressionContext(IDocument document, object model)
Parameters
| Type | Name | Description |
|---|---|---|
| IDocument | document | The document for which to create an expression context. |
| System.Object | model | The model for which to create an expression context. |
Returns
| Type | Description |
|---|---|
| ExpressionContext | The expression context. |