using Microsoft.AspNetCore.Routing.Constraints;
using StardewModdingAPI.Internal;
namespace StardewModdingAPI.Web.Framework
{
/// Constrains a route value to a valid semantic version.
internal class VersionConstraint : RegexRouteConstraint
{
/*********
** Public methods
*********/
/// Construct an instance.
public VersionConstraint()
: base(SemanticVersionImpl.Regex) { }
}
}