Expand the Inject annotation to have a few parameters to allow a user to dictate if they want to create a new instance of the injected type. Also allow for keying to allow the user to sort of 'manage' which instances of what type go where. Aim for thread safety.
Expand the
Inject
annotation to have a few parameters to allow a user to dictate if they want to create a new instance of the injected type. Also allow for keying to allow the user to sort of 'manage' which instances of what type go where. Aim for thread safety.