Fix whitespace formatting

This commit is contained in:
softworkz
2025-11-15 08:05:31 +01:00
parent 30b547b8d3
commit 8e7892ebd4
106 changed files with 296 additions and 349 deletions

View File

@@ -8,7 +8,7 @@ namespace ElectronNET.API
/// <summary>
/// Allows you to execute native JavaScript/TypeScript code from the host process.
///
/// It is only possible if the Electron.NET CLI has previously added an
/// It is only possible if the Electron.NET CLI has previously added an
/// ElectronHostHook directory:
/// <c>electronize add HostHook</c>
/// </summary>
@@ -48,10 +48,7 @@ namespace ElectronNET.API
/// <param name="arguments">Optional parameters.</param>
public void Call(string socketEventName, params dynamic[] arguments)
{
BridgeConnector.Socket.Once<string>(socketEventName + "Error" + oneCallguid, (result) =>
{
Electron.Dialog.ShowErrorBox("Host Hook Exception", result);
});
BridgeConnector.Socket.Once<string>(socketEventName + "Error" + oneCallguid, (result) => { Electron.Dialog.ShowErrorBox("Host Hook Exception", result); });
BridgeConnector.Socket.Emit(socketEventName, arguments, oneCallguid);
}
@@ -95,7 +92,5 @@ namespace ElectronNET.API
return tcs.Task;
}
}
}
}