c# - IoC registration across multiple projects/solutions - when does it happen? -


i'm little confused regarding ioc registration. assuming have visual studio project called 'project 1'. within project dependent , it's dependency. register dependency implementation within installer in project 1.

now project 2 wants use dependent described in project 1. right in saying project 2 must same registration dependency inject dependent? i.e. isn't registration in project 1 pointless?

the reason ask because under impression registration all done calling code, 'final consumer' of these implementations. i've seen installer files within 'project 1' equivalent in solution i'm looking at.


Comments

Popular posts from this blog

python - What's the Pythonic way to report nonfatal errors in a parser? -

sql server - Deadlock occuring in Clustered Columnstore index -

angular - Converting AngularJS deffered promise to AngularX observable for JSOM -