Open sandboxFocus

Method GetPullStrategy

GetPullStrategy(IFieldOrProperty)

Gets an IPullStrategy, i.e. a strategy to pull a dependency field or property from constructors.

Declaration
protected virtual IPullStrategy GetPullStrategy(IFieldOrProperty introducedFieldOrProperty)
Parameters
Type Name Description
IFieldOrProperty introducedFieldOrProperty

The value returned by Metalama.Extensions.DependencyInjection.Implementation.DefaultDependencyInjectionStrategy.TryIntroduceFieldOrProperty(Metalama.Framework.Aspects.IAspectBuilder{Metalama.Framework.Code.INamedType},Metalama.Framework.Code.IFieldOrProperty@,System.Boolean@).

Returns
Type Description
IPullStrategy

The IPullStrategy.