Renamed Umbraco.Abstractions to Umbraco.Core
This commit is contained in:
23
src/Umbraco.Core/Models/NotificationEmailSubjectParams.cs
Normal file
23
src/Umbraco.Core/Models/NotificationEmailSubjectParams.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Umbraco.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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user