MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Dependency­Injection.​ImplementationDefault­Pull­StrategyGet­Existing­Parameter
Open sandboxFocus

DefaultPullStrategy.GetExistingParameter Method

GetExistingParameter(IConstructor)

Gets a parameter from which the dependency can be initialized, or null if a new parameter must be created.

Declaration
public virtual IParameter GetExistingParameter(IConstructor constructor)
Parameters
Type Name Description
IConstructor constructor
Returns
Type Description
IParameter
Implements
IPullStrategy.GetExistingParameter(IConstructor)