using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Perspex.Controls { /// /// Sends events about the application lifecycle. /// public interface IApplicationLifecycle { /// /// Sent when the application is exiting. /// event EventHandler OnExit; /// /// Exits the application. /// void Exit(); } }