forked from ElectronNET/Electron.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathElectronNetOptions.cs
More file actions
20 lines (20 loc) · 940 Bytes
/
ElectronNetOptions.cs
File metadata and controls
20 lines (20 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace ElectronNET
{
/// <summary>
/// Provides configuration options for Electron.NET. Consumers can assign
/// an instance of <see cref="ElectronAppLifetimeEvents"/> to the <see cref="Events"/>
/// property to hook into the Electron application lifecycle. Additional
/// configuration properties can be added to this class in future versions without
/// breaking existing consumers.
/// </summary>
public class ElectronNetOptions
{
/// <summary>
/// Gets or sets the collection of lifecycle callbacks. The default value is
/// an instance of <see cref="ElectronAppLifetimeEvents"/> with no-op
/// implementations. Assigning a new instance or modifying individual
/// callbacks allows consumers to customize the startup sequence.
/// </summary>
public ElectronAppLifetimeEvents Events { get; set; } = new ElectronAppLifetimeEvents();
}
}