Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CreditCardValidator Members

CreditCardValidator overview

Public Instance Constructors

CreditCardValidator Overloaded. Initializes a new instance of the CreditCardValidator class.

Public Instance Properties

Actions (inherited from BaseValidator) Gets or sets the validation actions.
CardType Credit card type validator to use.
Test (inherited from BaseSimpleValidator) Gets or sets the test expression.
When (inherited from BaseValidator) Gets or sets the expression that determines if this validator should be evaluated.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
IsValid Checks if the card is a valid credit card number.
ToString (inherited from Object)Returns a String that represents the current Object.
Validate (inherited from BaseSimpleValidator)Overloaded. Validates the specified object.
Validate (inherited from BaseValidator)Overloaded. Validates the specified object.

Protected Instance Methods

EvaluateTest (inherited from BaseSimpleValidator) Evaluates test expression.
EvaluateWhen (inherited from BaseValidator) Evaluates when expression.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ProcessActions (inherited from BaseValidator) Processes the error messages.
ValidateOverloaded. Validates the supplied objectToValidate.

See Also

CreditCardValidator Class | Spring.Validation.Validators Namespace