Custom template implementation for the FolderHostContainer that supports relative path based partial rendering.
System.MarshalByRefObject
Westwind.RazorHosting.RazorTemplateBase
Westwind.RazorHosting.RazorTemplateFolderHost
public class RazorTemplateFolderHost : RazorTemplateBase
Class Members
Member | Description | |
---|---|---|
Constructor |
||
InitializeTemplate |
public virtual void InitializeTemplate(object model, object configurationData) |
|
RenderBody |
Overridden so that we don't fail if this encountered in the body. Echo'd back out by default. HostContainers may do something withe @RenderBody() result. public virtual RawString RenderBody() |
|
RenderPartial |
Render a partial view based on a Web relative path public RawString RenderPartial(string relativePath, object model) |
|
Layout |
The layout page for this template |
|
TemplateConfigData |
Hold template configuration data. for this implementation the Layout page and template paths are important. |
Requirements
Namespace: Westwind.RazorHostingAssembly: westwind.razorhosting.dll
© West Wind Technologies, 2018 • Updated: 06/07/18
Comment or report problem with topic