MvcValidatorToolkit/Validator.cs
/// <summary>
/// Inserts an error message for the specified element with additional arguments
/// used by the message format.
/// </summary>
Inserts an error message for the specified element with additional arguments
used by the message format.
Inserts an error message for the specified element with additional arguments used by the message format .
protected virtual void InsertError(string element, params object[] args)
		{
			ErrorMessages.Add(element, GetLocalizedErrorMessage(element, args));
			InvalidElements.Add(element);
		}
protected virtual void InsertError ( string element , params object [ ] args ) { ErrorMessages . Add ( element , GetLocalizedErrorMessage ( element , args ) ) ; InvalidElements . Add ( element ) ; }
Inserts an error message for the specified element with additional arguments
used by the message format.
Inserts an error message for the specified element with additional arguments used by the message format .
element
string