MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Dependency­Injection.​ImplementationLazy­Dependency­Injection­Strategy
Open sandboxFocus

LazyDependencyInjectionStrategy Class

A dependency implementation strategy that resolves the dependencies the first time they are used and pull a System.Func<> from the constructor.

Inheritance
System.Object
LazyDependencyInjectionStrategy
Implements
ITemplateProvider
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)