Files
Umbraco-CMS/src/Umbraco.Web/Models/Trees/RefreshNode.cs

28 lines
763 B
C#
Raw Normal View History

using Umbraco.Core.Services;
namespace Umbraco.Web.Models.Trees
2018-06-29 19:52:40 +02:00
{
/// <inheritdoc />
2018-06-29 19:52:40 +02:00
/// <summary>
/// Represents the refresh node menu item
/// </summary>
public sealed class RefreshNode : ActionMenuItem
{
public override string AngularServiceName => "umbracoMenuActions";
public RefreshNode(string name, bool seperatorBefore = false)
: base("refreshNode", name)
{
Icon = "refresh";
SeperatorBefore = seperatorBefore;
}
public RefreshNode(ILocalizedTextService textService, bool seperatorBefore = false)
: base("refreshNode", textService)
{
Icon = "refresh";
SeperatorBefore = seperatorBefore;
}
2018-06-29 19:52:40 +02:00
}
}