Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Support multiple RegisterTypes calls on one IBuilder instance #35

@erictuvesson

Description

@erictuvesson

Currently the second RegisterTypes call overrides the previous call as it's saved as an action in the builder.

new ServerBuilder()
    .RegisterTypes(serviceCollection =>
    {
        // Never called
    })
    .RegisterTypes(serviceCollection =>
    {
        // Called
    })

Would be nice if it was possible to call it multiple times or that it alerted that it is already set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions