Metalama / / API Documentation / Extensions API / Metalama.​Extensions.​Dependency­Injection.​Implementation / IPull­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
IParameter GetExistingParameter(IConstructor constructor)
Parameters
Type Name Description
IConstructor constructor
Returns
Type Description
IParameter