Add comments

This commit is contained in:
rafael-aero
2021-07-12 15:54:23 +02:00
parent f07f2e9506
commit 82755e399d
2 changed files with 8 additions and 0 deletions

View File

@@ -538,6 +538,9 @@ namespace ElectronNET.API
}
}
/// <summary>
/// Manually set that the app is ready instead of using the UseElectron extension method
/// </summary>
public static void ManuallySetIsReady()
{
Instance.IsReady = true;

View File

@@ -21,6 +21,11 @@
/// </value>
public static string WebPort { get; internal set; }
/// <summary>
/// Manually set the port values instead of using the UseElectron extension method
/// </summary>
/// <param name="socketPort"></param>
/// <param name="webPort"></param>
public static void InitializePorts(int socketPort, int webPort)
{
SocketPort = socketPort.ToString();