Skip to content

ResolvedParameter() and OptionalParameter() ignore name of the dependency #352

Description

@ENikS

ResolvedParameter()

ResolvedParameter InjectionMember used to indicate that injected member is resolved from the container. When ResolvedParameter instance is created, designer can specify a whole contract for the dependency, just a type, or just a name. If no contract info is provided and default constructor is used ResolvedParameter() the registration contract is determined from the reflected member info. If member is annotated with [Dependency] attribute, it is used to specify the contract.

Problem

Registration with ResolvedParameter() ignores contract name if the member is annotated with [Dependency] attribute.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions