MetalamaAPI documentationAspect APIMetalama.​Framework.​AdvisingPull­Action
Open sandboxFocus

Class PullAction

Represents a way to pull a field or property.

Inheritance
PullAction
Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class PullAction : ValueType

Properties

Name Description
Expression
None

Gets a PullAction that means that the dependency has to be set to its default value.

Methods

Name Description
IntroduceParameterAndPull(String, IType, TypedConstant, ImmutableArray<AttributeConstruction>)
UseExistingParameter(IParameter)

Creates a PullAction that means that the dependency should be pulled from an existing constructor parameter.

UseExpression(IExpression)

Creates a PullAction that means that the dependency should be assigned to a given expression.