3 ms·
You don't annotate anything. It simply becomes the following, ... public Repository(ISessionFactory factory) ... The repository never knows about IoC or
by nahname 14y 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.
- bborud 14y agoOh yeah, because pure magic makes it so understandable.