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

IPullStrategy.GetAssignmentStatement Method

GetAssignmentStatement(IParameter)

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

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

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

Returns
Type Description
IStatement