Renamed PluginManager to DiscordBotCore.
Revamped the Logger
This commit is contained in:
17
DiscordBotCore/Interfaces/Updater/IVersion.cs
Normal file
17
DiscordBotCore/Interfaces/Updater/IVersion.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace DiscordBotCore.Interfaces.Updater;
|
||||
|
||||
public interface IVersion
|
||||
{
|
||||
public int Major { get; }
|
||||
public int Minor { get; }
|
||||
public int Patch { get; }
|
||||
public int PatchVersion => 0;
|
||||
|
||||
public bool IsNewerThan(IVersion version);
|
||||
|
||||
public bool IsOlderThan(IVersion version);
|
||||
|
||||
public bool IsEqualTo(IVersion version);
|
||||
|
||||
public string ToShortString();
|
||||
}
|
||||
Reference in New Issue
Block a user