Skip to content

Support for keyed services #9

Open
@stamminator

Description

@stamminator

Does this library support the use of keyed services? Something like:

// service configuration
services.AddLazyKeyedTransient<IReportService, SalesReportService>("sales");
services.AddLazyKeyedTransient<IReportService, BudgetReportService>("budget");
// controller constructor
public MyController([FromKeyedServices("sales")] IReportService reportService) { }

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