wabbajack/Wabbajack.DTOs/Interventions/IUserIntervention.cs
2022-01-01 15:55:39 -07:00

18 lines
490 B
C#

namespace Wabbajack.DTOs.Interventions;
/// <summary>
/// Defines a message that requires user interaction. The user must perform some action
/// or make a choice.
/// </summary>
public interface IUserIntervention
{
/// <summary>
/// The user didn't make a choice, so this action should be aborted
/// </summary>
void Cancel();
/// <summary>
/// Whether the interaction has been handled and no longer needs attention
/// </summary>
bool Handled { get; }
}