Skip to content

fcnatra/TheDfromSOLID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TheDfromSOLID

Proof of Concept - Dependency Injection

The idea is to show how this works on C#, decoupling all dependencies from a class, and injecting the dependencies as needed.

InputHubReader reads content from a Hub every X time and dumps that content to a DumpSystem. X is the Reading interval, which is defined in the Configuration.

InputHubReader Dependencies: Hub, Configuration, DumpSystem

On program start, pass to InputHubReader the implementations it needs.

About

Proof of Concept - Dependency Injection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages