MvcValidatorToolkit/Validator.cs
/// <summary>
/// Gets the localized error message for the given element.
/// </summary>
Gets the localized error message for the given element.
Gets the localized error message for the given element .
protected virtual string GetLocalizedErrorMessage(string element, params object[] args)
		{
			List<object> al = new List<object>();
			al.Add(GetLocalizedLabel(element));
			al.AddRange(args);
			return string.Format(ErrorMessageFormat, al.ToArray());
		}
protected virtual string GetLocalizedErrorMessage ( string element , params object [ ] args ) { List < object > al = new List < object > ( ) ; al . Add ( GetLocalizedLabel ( element ) ) ; al . AddRange ( args ) ; return string . Format ( ErrorMessageFormat , al . ToArray ( ) ) ; }
Gets the localized error message for the given element.
Gets the localized error message for the given element .
element
string