• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMacroRenderer

    Renders a macro

    Namespace: Umbraco.Cms.Core.Macros
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IMacroRenderer

    Methods

    View Source

    RenderAsync(String, IPublishedContent, Nullable<IDictionary<String, Object>>)

    Declaration
    Task<MacroContent> RenderAsync(string macroAlias, IPublishedContent content, IDictionary<string, object>? macroParams)
    Parameters
    Type Name Description
    System.String macroAlias
    IPublishedContent content
    System.Nullable<IDictionary<System.String, System.Object>> macroParams
    Returns
    Type Description
    Task<MacroContent>
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • RenderAsync(String, IPublishedContent, Nullable<IDictionary<String, Object>>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX