Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
nahname
13y ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
bborud
13y ago
Oh yeah, because pure magic makes it so understandable.
j
/
k
navigate · click thread line to collapse