Metalama 1.0 / / Metalama Documentation / Extensions API / Metalama.​Extensions.​Dependency­Injection.​Implementation / Default­Dependency­Injection­Strategy / Get­Pull­Strategy

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 TryIntroduceFieldOrProperty(IAspectBuilder<INamedType>, out IFieldOrProperty).

Returns
Type Description
IPullStrategy

The IPullStrategy.