Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICreditCardType.Matches Method

Returns true if the card number matches this type of credit card.

[Visual Basic]
Public Sub Matches( _
   ByVal card As String _
)
[C#]
bool Matches(
   string card
);

Parameters

card
The card number, never null.

Return Value

true if the number matches.

See Also

ICreditCardType Interface | Spring.Validation.Validators Namespace