Search Results for

    Show / Hide Table of Contents
    View Source

    Class MessageTemplates

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Logging
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class MessageTemplates : IMessageTemplates

    Constructors

    View Source

    MessageTemplates()

    Declaration
    public MessageTemplates()

    Methods

    View Source

    Render(string, params object[])

    Renders a message template with the provided arguments.

    Declaration
    public string Render(string messageTemplate, params object[] args)
    Parameters
    Type Name Description
    string messageTemplate

    The message template containing placeholders.

    object[] args

    The arguments to substitute into the template placeholders.

    Returns
    Type Description
    string

    The rendered message with placeholders replaced by argument values.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX