Y
Hacker News
new
|
ask
|
show
|
jobs
by
nahname
4885 days ago
You don't annotate anything. It simply becomes the following,
... public Repository(ISessionFactory factory) ...
The repository never knows about IoC or where things come from. Nor should it.
1 comments
bborud
4885 days ago
Oh yeah, because pure magic makes it so understandable.
link