Metalama//API Documentation/Extensions API/Metalama.​Extensions.​Dependency­Injection.​Implementation/IPull­Strategy/Get­Assignment­Statement
Open sandboxFocus

Method GetAssignmentStatement

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