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

DefaultPullStrategy.GetNewParameter Method

GetNewParameter(IConstructor)

Gets the specifications from which a constructor parameter can be constructed. This method is called when GetExistingParameter(IConstructor) returns null.

Declaration
public virtual ParameterSpecification GetNewParameter(IConstructor constructor)
Parameters
Type Name Description
IConstructor constructor

The constructor into which the parameter will be added.

Returns
Type Description
ParameterSpecification
Implements
IPullStrategy.GetNewParameter(IConstructor)