summaryrefslogtreecommitdiff
path: root/src/SMAPI.Toolkit/Serialization/Converters/NonStandardSemanticVersionConverter.cs
blob: 6f870bcfe821062b73e1c32298397d2b128bd7e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace StardewModdingAPI.Toolkit.Serialization.Converters
{
    /// <summary>Handles deserialization of <see cref="ISemanticVersion"/>, allowing for non-standard extensions.</summary>
    internal class NonStandardSemanticVersionConverter : SemanticVersionConverter
    {
        /*********
        ** Public methods
        *********/
        /// <summary>Construct an instance.</summary>
        public NonStandardSemanticVersionConverter()
        {
            this.AllowNonStandard = true;
        }
    }
}