|
|
Browse by Tags
All Tags » c# » Decorator Pattern
-
Assume we have an existing application which manages customer purchases, below is the code that is responsible for validating purchases.
We have a number of validators which inherit from the PurchaseValidatorBase class, which in turn implements the IPurchaseValidator interface.
public interface ...
|
|
|