Skip to content

fresky/DIExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIExample

This is an example code for the .NET dependency injection.

  1. Implementing the DI by hand.

The first commit is a MVP project implementing the DI by hand. Also using a LoggerFactory to make sure the singleton of the ILogger.

  1. Using StructureMap.

The second commit is to use the StructureMap as the DI framework, also using the .Singleton() to make sure only one instance of ILogger.

  1. Using Unity.

The third commit is to use the Unity..

About

This is an example code for the .NET dependency injection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages