using System; namespace Avalonia.Controls { /// /// Sends events about the application lifecycle. /// public interface IApplicationLifecycle { /// /// Sent when the application is exiting. /// event EventHandler OnExit; /// /// Exits the application. /// void Exit(); } }