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 - Best design pattern for collection of objects -

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -

go - serving up pdfs using golang -