Skip to content

MSBuild properties to set the defaults for Duplicate and Registration Strategy #217

Description

@pwelter34

Currently, the Duplicate Strategy defaults skips registrations for services that already exists and the Registration Strategy registers each matching concrete type as all of its implemented interfaces and itself. It would be nice if we could set what the default should be via MSBuild project properties
.

<PropertyGroup>
  <InjectioDuplicateStrategy>Append</InjectioDuplicateStrategy>
  <InjectioRegistrationStrategy>ImplementedInterfaces</InjectioRegistrationStrategy>
</PropertyGroup>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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