IntroduceDependency(IAdviser<INamedType>)
The entry point of the DefaultDependencyInjectionStrategy. Orchestrates all steps: first calls Metalama.Extensions.DependencyInjection.Implementation.DefaultDependencyInjectionStrategy.TryIntroduceFieldOrProperty(Metalama.Framework.Advising.IAdviser{Metalama.Framework.Code.INamedType},Metalama.Framework.Code.IFieldOrProperty@,Metalama.Framework.Advising.AdviceOutcome@), then GetPullStrategy(IFieldOrProperty), then TryPullDependency(IAdviser<INamedType>, IFieldOrProperty, IPullStrategy).
Declaration
public virtual IntroduceDependencyResult IntroduceDependency(IAdviser<INamedType> adviser)
Parameters
Type | Name | Description |
---|---|---|
IAdviser<INamedType> | adviser |
Returns
Type | Description |
---|---|
IntroduceDependencyResult |