Class LazyDependencyInjectionStrategy
A dependency implementation strategy that resolves the dependencies the first time they are used and pull a Func<TResult> from the constructor.
Implements
Namespace: Metalama.Extensions.DependencyInjection.Implementation
Assembly: Metalama.Extensions.DependencyInjection.dll
Syntax
public class LazyDependencyInjectionStrategy : DefaultDependencyInjectionStrategy, ITemplateProvider
Constructors
Name | Description |
---|---|
LazyDependencyInjectionStrategy(DependencyProperties) |
Methods
Name | Description |
---|---|
TryImplementDependency(IAspectBuilder<IFieldOrProperty>) | |
TryIntroduceDependency(IAspectBuilder<INamedType>, out IFieldOrProperty) |