mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-17 13:45:34 +00:00
Add comments
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user