diff options
Diffstat (limited to 'src/StardewModdingAPI/ISemanticVersion.cs')
-rw-r--r-- | src/StardewModdingAPI/ISemanticVersion.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/ISemanticVersion.cs b/src/StardewModdingAPI/ISemanticVersion.cs index 3b9bdb44..24e6442a 100644 --- a/src/StardewModdingAPI/ISemanticVersion.cs +++ b/src/StardewModdingAPI/ISemanticVersion.cs @@ -32,6 +32,11 @@ namespace StardewModdingAPI /// <param name="other">The version to compare with this instance.</param> bool IsNewerThan(ISemanticVersion other); + /// <summary>Get whether this version is between two specified versions (inclusively).</summary> + /// <param name="min">The minimum version.</param> + /// <param name="max">The maximum version.</param> + bool IsBetween(ISemanticVersion min, ISemanticVersion max); + /// <summary>Get a string representation of the version.</summary> string ToString(); } |