title: dryioc - get target type while registration
body: <p>Is it possible to get type of target (consumer) of the resolved instance while registration?
  Basically something like this: <a href="https://stackoverflow.com/questions/67598070/determine-the-target-type-for-a-dependency-during-resolution">Determine the target type for a dependency during resolution</a>
  but for dryioc.</p>