Skip to content

Commit f99859a

Browse files
committed
Change api function names
1 parent e753bb7 commit f99859a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -479,25 +479,25 @@ public interface IPublicAPI
479479
/// Message will only be logged in Debug mode
480480
/// </summary>
481481
/// <returns>The time taken to execute the method in milliseconds</returns>
482-
public long StopWatchLogDebug(string className, string message, Action action, [CallerMemberName] string methodName = "");
482+
public long StopwatchLogDebug(string className, string message, Action action, [CallerMemberName] string methodName = "");
483483

484484
/// <summary>
485485
/// Log debug message of the time taken to execute a method asynchronously
486486
/// Message will only be logged in Debug mode
487487
/// </summary>
488488
/// <returns>The time taken to execute the method in milliseconds</returns>
489-
public Task<long> StopWatchLogDebugAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "");
489+
public Task<long> StopwatchLogDebugAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "");
490490

491491
/// <summary>
492492
/// Log info message of the time taken to execute a method
493493
/// </summary>
494494
/// <returns>The time taken to execute the method in milliseconds</returns>
495-
public long StopWatchLogInfo(string className, string message, Action action, [CallerMemberName] string methodName = "");
495+
public long StopwatchLogInfo(string className, string message, Action action, [CallerMemberName] string methodName = "");
496496

497497
/// <summary>
498498
/// Log info message of the time taken to execute a method asynchronously
499499
/// </summary>
500500
/// <returns>The time taken to execute the method in milliseconds</returns>
501-
public Task<long> StopWatchLogInfoAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "");
501+
public Task<long> StopwatchLogInfoAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "");
502502
}
503503
}

Flow.Launcher/PublicAPIInstance.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -432,16 +432,16 @@ public void InstallPlugin(UserPlugin plugin, string zipFilePath) =>
432432
public Task UninstallPluginAsync(PluginMetadata pluginMetadata, bool removePluginSettings = false) =>
433433
PluginManager.UninstallPluginAsync(pluginMetadata, removePluginSettings);
434434

435-
public long StopWatchLogDebug(string className, string message, Action action, [CallerMemberName] string methodName = "") =>
435+
public long StopwatchLogDebug(string className, string message, Action action, [CallerMemberName] string methodName = "") =>
436436
Stopwatch.Debug($"|{className}.{methodName}|{message}", action);
437437

438-
public Task<long> StopWatchLogDebugAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "") =>
438+
public Task<long> StopwatchLogDebugAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "") =>
439439
Stopwatch.DebugAsync($"|{className}.{methodName}|{message}", action);
440440

441-
public long StopWatchLogInfo(string className, string message, Action action, [CallerMemberName] string methodName = "") =>
441+
public long StopwatchLogInfo(string className, string message, Action action, [CallerMemberName] string methodName = "") =>
442442
Stopwatch.Normal($"|{className}.{methodName}|{message}", action);
443443

444-
public Task<long> StopWatchLogInfoAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "") =>
444+
public Task<long> StopwatchLogInfoAsync(string className, string message, Func<Task> action, [CallerMemberName] string methodName = "") =>
445445
Stopwatch.NormalAsync($"|{className}.{methodName}|{message}", action);
446446

447447
#endregion

0 commit comments

Comments
 (0)