Skip to content

AutoRegisterHandlersFromAssembly with type predicate filter #84

@arildboifot

Description

@arildboifot

I recently found myself in the need of a more granular filter on which handlers where registered with 'AutoRegisterHandlersFromAssembly', so I created an overload like so:

public static IServiceCollection AutoRegisterHandlersFromAssemblyOf<THandler>(this IServiceCollection services, Func<Type, bool> predicate = null)

Is this something you would like a PR on?

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