summaryrefslogtreecommitdiff
path: root/src/SMAPI/ISemanticVersion.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-05-03 00:14:35 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-05-03 00:14:35 -0400
commit6a6001c7e6a03ff6fb0da992a87c6ef30d6bc952 (patch)
tree98470dbb6c5b41a68c494f88ebdbd9a582ece9ab /src/SMAPI/ISemanticVersion.cs
parent4cabd2b2e7c8fbd39c1f18f24f5e52a56f960f10 (diff)
downloadSMAPI-6a6001c7e6a03ff6fb0da992a87c6ef30d6bc952.tar.gz
SMAPI-6a6001c7e6a03ff6fb0da992a87c6ef30d6bc952.tar.bz2
SMAPI-6a6001c7e6a03ff6fb0da992a87c6ef30d6bc952.zip
add semanticVersion.IsPrerelease()
Diffstat (limited to 'src/SMAPI/ISemanticVersion.cs')
-rw-r--r--src/SMAPI/ISemanticVersion.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/ISemanticVersion.cs b/src/SMAPI/ISemanticVersion.cs
index 0483c97b..961ef777 100644
--- a/src/SMAPI/ISemanticVersion.cs
+++ b/src/SMAPI/ISemanticVersion.cs
@@ -24,6 +24,9 @@ namespace StardewModdingAPI
/*********
** Accessors
*********/
+ /// <summary>Whether this is a pre-release version.</summary>
+ bool IsPrerelease();
+
/// <summary>Get whether this version is older than the specified version.</summary>
/// <param name="other">The version to compare with this instance.</param>
bool IsOlderThan(ISemanticVersion other);