Home > OS >  dryioc - get target type while registration
dryioc - get target type while registration

Time:07-18

Is it possible to get type of target (consumer) of the resolved instance while registration? Basically something like this: Determine the target type for a dependency during resolution but for dryioc.

CodePudding user response:

Here is the example from the DryIoc docs: https://github.com/dadhi/DryIoc/blob/master/docs/DryIoc.Docs/ExamplesContextBasedResolution.md#log4net-logger

  • Related