Design Pattern Framework 3.5
BusinessRule Class
Patterns-In-Action! Application ► BusinessObjects.BusinessRules ► BusinessRule
Abstract base class for business rules.
Maintains property name to which rule applies and validation error message.

C# | Visual Basic |
public abstract class BusinessRule
Public MustInherit Class BusinessRule

All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
BusinessRule(String) |
Constructor
|
![]() |
BusinessRule(String, String) |
Overloaded constructor
|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
ErrorMessage |
|
![]() |
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.
|
![]() |
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
PropertyName |
|
![]() |
ToString()()() | (Inherited from Object.) |
![]() |
Validate(BusinessObject) |
Validation method. To be implemented in derived classes.
|
