// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Mvc.ModelBinding.Validation { /// /// This is a for numeric values. /// public class ModelClientValidationNumericRule : ModelClientValidationRule { private const string NumericValidationType = "number"; /// /// Creates an instance of /// with the given . /// /// The error message to be displayed. public ModelClientValidationNumericRule([NotNull] string errorMessage) : base(NumericValidationType, errorMessage) { } } }