Search Results for

    Show / Hide Table of Contents
    View Source

    Class NotificationEmailSubjectParams

    Represents the parameters used to construct a notification email subject line.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class NotificationEmailSubjectParams

    Constructors

    View Source

    NotificationEmailSubjectParams(string, string?, string?)

    Initializes a new instance of the NotificationEmailSubjectParams class.

    Declaration
    public NotificationEmailSubjectParams(string siteUrl, string? action, string? itemName)
    Parameters
    Type Name Description
    string siteUrl

    The URL of the site.

    string action

    The action that triggered the notification.

    string itemName

    The name of the item involved in the action.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when any parameter is null.

    Properties

    View Source

    Action

    Gets the action that triggered the notification.

    Declaration
    public string Action { get; }
    Property Value
    Type Description
    string
    View Source

    ItemName

    Gets the name of the item involved in the action.

    Declaration
    public string ItemName { get; }
    Property Value
    Type Description
    string
    View Source

    SiteUrl

    Gets the URL of the site.

    Declaration
    public string SiteUrl { get; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX