9 changed files with 110 additions and 4 deletions
@ -0,0 +1,24 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Perspex.Controls |
|||
{ |
|||
/// <summary>
|
|||
/// Sends events about the application lifecycle.
|
|||
/// </summary>
|
|||
public interface IApplicationLifecycle |
|||
{ |
|||
/// <summary>
|
|||
/// Sent when the application is exiting.
|
|||
/// </summary>
|
|||
event EventHandler OnExit; |
|||
|
|||
/// <summary>
|
|||
/// Exits the application.
|
|||
/// </summary>
|
|||
void Exit(); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue