mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-25 00:15:22 +00:00
Create Electron-Class for API´s
This commit is contained in:
15
ElectronNET.API/Electron.cs
Normal file
15
ElectronNET.API/Electron.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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; } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user