BusinessRule Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 BusinessRule Class
Patterns-In-Action! ApplicationBusinessObjects.BusinessRulesBusinessRule
Abstract base class for business rules. Maintains property name to which rule applies and validation error message.
Declaration Syntax
C# Visual Basic
public abstract class BusinessRule
Public MustInherit Class BusinessRule
Members
All Members Constructors Methods Properties



Icon Member Description
BusinessRule(String)
Constructor

BusinessRule(String, String)
Overloaded constructor

Equals(Object)
Determines whether the specified Object is equal to the current 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()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Validate(BusinessObject)
Validation method. To be implemented in derived classes.

Inheritance Hierarchy

Assembly: BusinessObjects (Module: BusinessObjects) Version: 1.0.0.0 (1.0.0.0)