Action/IActionWithDeactivation.cs

19 lines
490 B
C#
Raw Normal View History

2022-11-20 21:56:53 +03:00
using System;
namespace Syntriax.Modules.Action
{
public interface IActionWithDeactivation : IAction
{
/// <summary>
/// Called when the <see cref="IAction"/> is Deactivated
/// </summary>
/// <value>The <see cref="IAction"/> that Deactivated</value>
Action<IAction> OnDeactivated { get; set; }
/// <summary>
/// Called when the <see cref="IAction"/> is Deactivated
/// </summary>
void Deactivate();
}
}