Create Electron-Class for API´s

This commit is contained in:
Gregor Biswanger
2017-10-14 17:58:16 +02:00
parent 9848a38b0d
commit 9abece156f
7 changed files with 281 additions and 238 deletions

View 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; } }
}
}