Download

 Download the package to your local disk and extract the files.

image

Run

Double click DependencyParse.exe to launch the program.

image

Locate your assemblies

Click Select button to choose the path where your assemblies locate and then click Parse button.

 image

 

Add relationships for IOC

The interfaces listed in Dependency Interfaces grid are used as following in code.

class myClass

{

[Dependency]
public BugState IBugState{get;set;}

//other codes

}
What we would do next is to select the implementation class in the left grid and the interface it implements in the right grid, and then click Add button to add them into the Dependency Relation grid. We can select the Remove button to remove the relation from the grid.

Generating relationships for IOC

We can set the container name when all the relations are added, and then click Generate button to generate the configuration section. In the complex project, there are many times that we have containers for different implementations for same interfaces. This functionalities facilitate this task.

image

Last edited Oct 26, 2010 at 1:46 PM by czy, version 4

Comments

No comments yet.