20 lines
602 B
C#
20 lines
602 B
C#
using System;
|
|
|
|
namespace Umbraco.Cms.Core.Models
|
|
{
|
|
|
|
public class NotificationEmailSubjectParams
|
|
{
|
|
public NotificationEmailSubjectParams(string siteUrl, string? action, string? itemName)
|
|
{
|
|
SiteUrl = siteUrl ?? throw new ArgumentNullException(nameof(siteUrl));
|
|
Action = action ?? throw new ArgumentNullException(nameof(action));
|
|
ItemName = itemName ?? throw new ArgumentNullException(nameof(itemName));
|
|
}
|
|
|
|
public string SiteUrl { get; }
|
|
public string Action { get; }
|
|
public string ItemName { get; }
|
|
}
|
|
}
|