|
|
Browse by Tags
All Tags » c# » Dependency Injection
-
If you decide to use Dependency Injection there are two methods of implementing it; Constructor or Setter injection. Constructor injection is where the dependencies are passed in via the constructor and setter injection is where the dependencies are set via a method or a property.
Below are two examples of the SaleProcess class (with dependencies ...
|
|
|