Пример #1
0
 public async Task <EventEmitter> On(string eventName, IpcMainEventListener listener)
 {
     return(await Invoke <EventEmitter>("on", eventName, listener));
 }
Пример #2
0
 public async Task <IpcMain> Once(string eventName, IpcMainEventListener listener)
 {
     return(await Invoke <IpcMain>("once", eventName, listener));
 }
Пример #3
0
 public async Task <IpcMain> RemoveListener(string eventName, IpcMainEventListener listener)
 {
     return(await Invoke <IpcMain>("removeListener", eventName, listener));
 }