Fix warnings

This commit is contained in:
softworkz
2025-10-14 03:48:22 +02:00
parent 868451408c
commit 6060e355bd
3 changed files with 3 additions and 7 deletions

View File

@@ -68,12 +68,10 @@ namespace ElectronNET.API
await BridgeConnector.Socket.Emit(subscriber, eventName, listener).ConfigureAwait(false);
}
/// <summary>
/// Subscribe to an unmapped electron event.
/// </summary>
/// <summary>Subscribe to an unmapped electron event.</summary>
/// <param name="moduleName">The name of the module, e.g. app, dock, etc...</param>
/// <param name="eventName">The name of the event</param>
/// <param name="fn">The event handler</param>
/// <param name="action">The action.</param>
public async Task Once(string moduleName, string eventName, Action action)
{
var listener = $"{moduleName}{_textInfo.ToTitleCase(eventName)}Completed";

View File

@@ -48,8 +48,6 @@
default:
throw new ArgumentOutOfRangeException();
}
return null;
}
private StartupMethod DetectAppTypeAndStartup()