Design Pattern Framework 3.5
ValidateCreditcard Class
Patterns-In-Action! Application ► BusinessObjects.BusinessRules ► ValidateCreditcard
Credit card validation rule.
Match a credit card number to be entered as four sets of four digits separated
by a space, -, or no character at all
Declaration Syntax
C# | Visual Basic |
public class ValidateCreditcard : ValidateRegex
Public Class ValidateCreditcard _ Inherits ValidateRegex
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
ValidateCreditcard(String) |
Initializes a new instance of the ValidateCreditcard class
|
|
ValidateCreditcard(String, String) |
Initializes a new instance of the ValidateCreditcard class
|
|
Equals(Object) | (Inherited from Object.) |
|
ErrorMessage | (Inherited from BusinessRule.) |
|
Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetPropertyValue(BusinessObject) |
Gets value for given business object's property using reflection.
(Inherited from BusinessRule.) |
|
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
Pattern | (Inherited from ValidateRegex.) |
|
PropertyName | (Inherited from BusinessRule.) |
|
ToString()()() | (Inherited from Object.) |
|
Validate(BusinessObject) | (Inherited from ValidateRegex.) |
Inheritance Hierarchy
Object | |||
BusinessRule | |||
ValidateRegex | |||
ValidateCreditcard |