Interface ITemplateRenderer
This is used purely for the RenderTemplate functionality in Umbraco
Namespace: Umbraco.Cms.Core.Templates
Assembly: Umbraco.Core.dll
Syntax
public interface ITemplateRenderer
Methods
View SourceRenderAsync(Int32, Nullable<Int32>, StringWriter)
Declaration
Task RenderAsync(int pageId, int? altTemplateId, StringWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageId | |
System.Nullable<System.Int32> | altTemplateId | |
StringWriter | writer |
Returns
Type | Description |
---|---|
Task |