Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CreditCardValidator Constructor

Creates a new instance of the UrlValidator class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal test As IExpression, _
   ByVal when As IExpression, _
   ByVal cardType As ICreditCardType _
)
[C#]
CreditCardValidator(
   IExpression test,
   IExpression when,
   ICreditCardType cardType
);

Parameters

test
The expression to validate.
when
The expression that determines if this validator should be evaluated.
cardType
Credit Card type validator to use.

See Also

CreditCardValidator Class | Spring.Validation.Validators Namespace | CreditCardValidator Constructor Overload List