Fix and normalize whitespace

This commit is contained in:
softworkz
2025-11-09 03:50:24 +01:00
parent c1e7b84ec6
commit 84b3c59353
50 changed files with 429 additions and 231 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Threading.Tasks;
using ElectronNET.Common;
// ReSharper disable InconsistentNaming
namespace ElectronNET.API
@@ -75,7 +76,7 @@ namespace ElectronNET.API
}
private event Action _onBattery;
/// <summary>
/// Emitted when the system is about to reboot or shut down. If the event handler
/// invokes `e.preventDefault()`, Electron will attempt to delay system shutdown in
@@ -93,7 +94,9 @@ namespace ElectronNET.API
private static PowerMonitor _powerMonitor;
private static object _syncRoot = new object();
internal PowerMonitor() { }
internal PowerMonitor()
{
}
internal static PowerMonitor Instance
{
@@ -114,4 +117,4 @@ namespace ElectronNET.API
}
}
}
}
}