/// <summary>
 /// Initializes a new instance of the <see cref="ModelClientValidationLessThanOrEqualsToRule"/> class.
 /// </summary>
 /// <param name="errorMessage">The error message.</param>
 /// <param name="otherPropertyName">Name of the other property.</param>
 public ModelClientValidationLessThanOrEqualsToRule(string errorMessage, string otherPropertyName)
 {
     this.ErrorMessage   = errorMessage;
     this.ValidationType = "lessthanorequalsto";
     this.ValidationParameters["other"] = ModelClientValidationCompareRuleBase.FormatPropertyForClientValidation(otherPropertyName);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ModelClientValidationGreaterThanRule"/> class.
 /// </summary>
 /// <param name="errorMessage">The error message.</param>
 /// <param name="otherPropertyName">Name of the other property.</param>
 public ModelClientValidationGreaterThanRule(string errorMessage, string otherPropertyName)
 {
     this.ErrorMessage   = errorMessage;
     this.ValidationType = "greaterthan";
     this.ValidationParameters["other"] = ModelClientValidationCompareRuleBase.FormatPropertyForClientValidation(otherPropertyName);
 }