* chore: Fix XML warnings * docs: Fix XML warnings * docs: Fix XML in resource designer * docs: Fix XML warnings * Revert "docs: Fix XML in resource designer" This reverts commit 8ea61c51ac161e1853ae080db7fe1b4d4cb4d2be.
32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
namespace Umbraco.Cms.Core.Notifications;
|
|
|
|
/// <summary>
|
|
/// Notification that occurs at the very end of the Umbraco boot process (after all <see cref="Composing.IComponent" />s are
|
|
/// initialized).
|
|
/// </summary>
|
|
/// <seealso cref="IUmbracoApplicationLifetimeNotification" />
|
|
public class UmbracoApplicationStartingNotification : IUmbracoApplicationLifetimeNotification
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="UmbracoApplicationStartingNotification" /> class.
|
|
/// </summary>
|
|
/// <param name="runtimeLevel">The runtime level</param>
|
|
/// <param name="isRestarting">Indicates whether Umbraco is restarting.</param>
|
|
public UmbracoApplicationStartingNotification(RuntimeLevel runtimeLevel, bool isRestarting)
|
|
{
|
|
RuntimeLevel = runtimeLevel;
|
|
IsRestarting = isRestarting;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the runtime level.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The runtime level.
|
|
/// </value>
|
|
public RuntimeLevel RuntimeLevel { get; }
|
|
|
|
/// <inheritdoc />
|
|
public bool IsRestarting { get; }
|
|
}
|