-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently properties marked with [Dependency] attribute are automatically resolved (by-type) for components defined in JSON config and if ComponentDescriptor.InjectDependencyAttr=true.
It might be useful to perform properties injections for services that are already registered in IServiceCollection. This can be implemented as an extension method like services.InjectDependencyProperties() that scans existing ServiceDescriptor declarations, and if it finds a type that has properties with [Dependency] attribute, replaces this service definition with handler that performs injections for these properties.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request