In this post we are going to learn about How we can do dependency injection with StructureMap. Here we are going to take a sample application of shopping cart. This shopping cart can process two type of orders 1. Sales order 2. Purchase Order. We want an abstraction for this. So first we are going to create an interface IOrder which will be implemented by both Purchase Order and Sales Order classes.
Following...
Showing posts with label StructureMap. Show all posts
Showing posts with label StructureMap. Show all posts
Wednesday, July 23, 2014