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

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)