how to use dependency injection to provide data that is required by several classes

locotrains

New Member
several classes in my dll require a set of the data ( general configuration ) . these data are provided by the one who uses the dll . so data should be injected as a dependency . now I wonder how to do that .
 
Back
Top