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

IPullStrategy.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
ParameterSpecification GetNewParameter(IConstructor constructor)
Parameters
Type Name Description
IConstructor constructor

The constructor into which the parameter will be added.

Returns
Type Description
ParameterSpecification