Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Feature ] Support for property injection #9

Open
5 tasks
renanrcp opened this issue Jun 17, 2020 · 0 comments
Open
5 tasks

[ Feature ] Support for property injection #9

renanrcp opened this issue Jun 17, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@renanrcp
Copy link
Member

renanrcp commented Jun 17, 2020

In this lib we use the IServiceProvider + Activator to instantiate modules, and because that we doesn't have property injection.

But we can do that with reflection after instance created.

  • ICommandServiceOptions#EnablePropertyInjection -> Default false

  • PropertyInjectionAttribute -> Value -> Boolean

  • Overrides for ICommand and IModule.

  • DontInjectAttribute

  • In ModuleProvider property inject if property injection is enabled.

@renanrcp renanrcp added the enhancement New feature or request label Jun 17, 2020
@renanrcp renanrcp added the hacktoberfest Issue or PR for Hacktoberfest label Oct 9, 2020
@renanrcp renanrcp removed the hacktoberfest Issue or PR for Hacktoberfest label Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant