You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: