MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Dependency­Injection.​ImplementationDefault­Pull­StrategyGet­Assignment­Statement
Open sandboxFocus

DefaultPullStrategy.GetAssignmentStatement Method

GetAssignmentStatement(IParameter)

Gets a statement that assigns the dependency field or property from a parameter or another expression.

Declaration
public virtual IStatement GetAssignmentStatement(IParameter existingParameter)
Parameters
Type Name Description
IParameter existingParameter

The value returned by GetExistingParameter(IConstructor) or GetNewParameter(IConstructor).

Returns
Type Description
IStatement
Implements
IPullStrategy.GetAssignmentStatement(IParameter)