Skip to content

Is there a way of registering decorators by conventions? #22

@Rookian

Description

@Rookian

With SimpleInjector or StructureMap you have the possibility to register decorators by conventions.

Registration with SimpleInjector:
container.RegisterDecorator(typeof(ICommandHandler<>),typeof(ValidationCommandHandlerDecorator<>));

For now I did not find a way of registering decorators by convention in Ninject.
Is there a way of doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions