Files
Electron.NET/ElectronNET.API/QuitEventArgs.cs
Konstantin Gross eee84d214e App API:
* Summaries rewritten
* Added new parameters / Removed not supported parameters
* Added some new methods like appFocus(options), appHasSingleLock, etc.
2020-05-31 03:09:54 +02:00

16 lines
444 B
C#

namespace ElectronNET.API
{
/// <summary>
/// Event arguments for the <see cref="App.BeforeQuit"/> / <see cref="App.WillQuit"/> event.
/// </summary>
public sealed class QuitEventArgs
{
/// <summary>
/// Will prevent the default behaviour, which is terminating the application.
/// </summary>
public void PreventDefault()
{
Electron.App.PreventQuit();
}
}
}