Represents a way to pull a field or property.
Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public readonly struct PullActionProperties
| 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. |