Interface used by DefaultDependencyInjectionStrategy to pull a field or property from the constructor. This interface is instantiated from GetDependencyPullStrategy(IFieldOrProperty). You must override this method if you want to provide a custom implementation of IDependencyPullStrategy. The default implementation is DefaultDependencyPullStrategy.
Namespace: Metalama.Extensions.DependencyInjection.Implementation
Assembly: Metalama.Extensions.DependencyInjection.dll
Syntax
[CompileTime]
public interface IDependencyPullStrategyMethods
| Name | Description |
|---|---|
| CreateParameterPullStrategy() | Creates an IParameterPullStrategy, used to introduce and pull the parameter. |
| GetAssignmentStatement(IParameter) | Gets a statement that assigns the dependency field or property from a parameter or another expression. |