Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Validation/Validators
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv13916
Modified Files:
CreditCardValidator.cs
Log Message:
reactivated warning 1591 "missing XML doc comment"
excluded unused Spring.Core/Spring.Expressions.Parser/ExpressionParserTokenTypes..cs from builds
Index: CreditCardValidator.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Validation/Validators/CreditCardValidator.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CreditCardValidator.cs 8 Feb 2007 02:18:58 -0000 1.1
--- CreditCardValidator.cs 27 Aug 2007 09:38:56 -0000 1.2
***************
*** 258,261 ****
--- 258,265 ----
{
private static readonly String PREFIX = "4";
+
+ /// <summary>
+ /// Indicates, wheter the given credit card number matches a visa number.
+ /// </summary>
public bool Matches(String card)
{
***************
*** 270,273 ****
--- 274,281 ----
{
private static readonly String PREFIX = "34,37,";
+
+ /// <summary>
+ /// Indicates, wheter the given credit card number matches an amex number.
+ /// </summary>
public bool Matches(String card)
{
***************
*** 283,286 ****
--- 291,298 ----
{
private static readonly String PREFIX = "6011";
+
+ /// <summary>
+ /// Indicates, wheter the given credit card number matches a discover number.
+ /// </summary>
public bool Matches(String card)
{
***************
*** 295,298 ****
--- 307,314 ----
{
private static readonly String PREFIX = "51,52,53,54,55,";
+
+ /// <summary>
+ /// Indicates, wheter the given credit card number matches a mastercard number.
+ /// </summary>
public bool Matches(String card)
{
|