mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-11 05:34:34 +00:00
41 lines
1.3 KiB
C#
41 lines
1.3 KiB
C#
namespace ElectronNET.API
|
||
{
|
||
public static class Electron
|
||
{
|
||
/// <summary>
|
||
/// Communicate asynchronously from the main process to renderer processes.
|
||
/// </summary>
|
||
public static IpcMain IpcMain { get { return IpcMain.Instance; } }
|
||
|
||
/// <summary>
|
||
/// Control your application's event lifecycle.
|
||
/// </summary>
|
||
public static App App { get { return App.Instance; } }
|
||
|
||
/// <summary>
|
||
/// Control your windows.
|
||
/// </summary>
|
||
public static WindowManager WindowManager { get { return WindowManager.Instance; } }
|
||
|
||
/// <summary>
|
||
/// Create native application menus and context menus.
|
||
/// </summary>
|
||
public static Menu Menu { get { return Menu.Instance; } }
|
||
|
||
/// <summary>
|
||
/// Display native system dialogs for opening and saving files, alerting, etc.
|
||
/// </summary>
|
||
public static Dialog Dialog { get { return Dialog.Instance; } }
|
||
|
||
/// <summary>
|
||
/// Create OS desktop notifications
|
||
/// </summary>
|
||
public static Notification Notification { get { return Notification.Instance; } }
|
||
|
||
/// <summary>
|
||
/// Add icons and context menus to the system’s notification area.
|
||
/// </summary>
|
||
public static Tray Tray { get { return Tray.Instance; } }
|
||
}
|
||
}
|