Skip to content

[ Feature ] Support for property injection #9

@renanrcp

Description

@renanrcp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions