You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ResolvedParameterInjectionMember 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.
The text was updated successfully, but these errors were encountered:
ENikS
changed the title
ResolvedParameter() ignores name of the dependency
ResolvedParameter() and OptionalParameter() ignore name of the dependency
Jun 28, 2021
ResolvedParameter()
ResolvedParameter
InjectionMember used to indicate that injected member is resolved from the container. WhenResolvedParameter
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 usedResolvedParameter()
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.The text was updated successfully, but these errors were encountered: