Metalama 1.0 / / Metalama Documentation / Extensions API / Metalama.​Extensions.​Dependency­Injection.​Implementation / Default­Pull­Strategy / Get­Existing­Parameter

Method GetExistingParameter

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)