diff --git a/AlwaysUpToDate.Test/Program.cs b/AlwaysUpToDate.Test/Program.cs index b183bf1..daab61d 100644 --- a/AlwaysUpToDate.Test/Program.cs +++ b/AlwaysUpToDate.Test/Program.cs @@ -34,7 +34,7 @@ internal class Program if (char.ToLower(input) == 'y') { - await updater.Update(); + await updater.UpdateAsync(); } } diff --git a/AlwaysUpToDate/DownloadManager.cs b/AlwaysUpToDate/DownloadManager.cs index 8cdbc3f..839fa6d 100644 --- a/AlwaysUpToDate/DownloadManager.cs +++ b/AlwaysUpToDate/DownloadManager.cs @@ -41,7 +41,7 @@ namespace AlwaysUpToDate public delegate void UpdateAvailableHandler(string version, string changelogUrl); /// - /// Occurs when a non-mandatory update is available. Call to begin downloading. + /// Occurs when a non-mandatory update is available. Call to begin downloading. /// public event UpdateAvailableHandler UpdateAvailable; @@ -157,7 +157,7 @@ namespace AlwaysUpToDate /// /// A task that represents the asynchronous update operation. /// The updater has been disposed. - public async Task Update() + public async Task UpdateAsync() { ThrowIfDisposed(); if (!string.IsNullOrWhiteSpace(updateUrl) && Interlocked.CompareExchange(ref updating, 1, 0) == 0) @@ -212,7 +212,7 @@ namespace AlwaysUpToDate } else { - await Update(); + await UpdateAsync(); } } else