Design Pattern Framework 3.5
BusinessObjects.BusinessRules Namespace
Patterns-In-Action! Application ► BusinessObjects.BusinessRules
Declaration Syntax
C# | Visual Basic |
namespace BusinessObjects.BusinessRules
Namespace BusinessObjects.BusinessRules
Types
All Types | Classes | Enumerations |
Icon | Type | Description |
---|---|---|
BusinessRule |
Abstract base class for business rules.
Maintains property name to which rule applies and validation error message.
|
|
ValidateCompare |
Compares values of two properties given a data type and operator (>, ==, etc).
|
|
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
|
|
ValidateEmail |
Email validation rule.
|
|
ValidateId |
Identity validation rule.
Value must be integer and greater than zero.
|
|
ValidateIPAddress |
IP Address validation rule.
|
|
ValidateLength |
Length validation rule.
Length must be between given min and max values.
|
|
ValidateRange |
Validates a range (min and max) for a given data type.
|
|
ValidateRegex |
Base class for regex based validation rules.
|
|
ValidateRequired |
Represents a validation rules that states that a value is required.
|
|
ValidationDataType |
Datatype enum of types to be used in validation rules.
|
|
ValidationOperator |
Enum of operators that can be used in validation rules.
|