Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardosnt committed Aug 25, 2016
1 parent 89f9be4 commit 7b0dac1
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/Updater/IUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,12 @@ namespace Essentials.Updater {

public interface IUpdater {

/// <summary>
/// Get last result or null if <see cref="CheckUpdate"/> isn't called.
///
/// LastResult is set when <see cref="CheckUpdate"/> is called.
/// </summary>
UpdateResult LastResult { get; }

/// <summary>
/// Check if has update available
/// </summary>
/// <returns>The result of check</returns>
UpdateResult CheckUpdate();

/// <summary>
/// Check if version of plugin is the latest.
/// </summary>
/// <returns></returns>
bool IsUpdated();

/// <summary>
/// Downloads latest version of plugin and put in <paramref name="path"/>
/// </summary>
/// <param name="path">Path that the downloaded file will be stored</param>
void DownloadLatestRelease(string path);

}
Expand Down

0 comments on commit 7b0dac1

Please sign in to comment.