Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@pwelter34

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>

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