Metalama 1.0 / / Metalama Documentation / Extensions API / Metalama.​Extensions.​Dependency­Injection.​Implementation / Default­Pull­Strategy / Get­Assignment­Statement

Method GetAssignmentStatement

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)