Open sandboxFocus

Class DependencyInjectionExtensions

Extends the IProject and IAspectBuilder interfaces.

Inheritance
DependencyInjectionExtensions
Namespace: Metalama.Extensions.DependencyInjection
Assembly: Metalama.Extensions.DependencyInjection.dll
Syntax
[CompileTime]
public static class DependencyInjectionExtensions

Methods

Name Description
ConfigureDependencyInjection(IAspectReceiver<ICompilation>, Action<DependencyInjectionOptionsBuilder>)

Configures Metalama.Extensions.DependencyInjection for the current project.

ConfigureDependencyInjection(IAspectReceiver<INamedType>, Action<DependencyInjectionOptionsBuilder>)

Configures Metalama.Extensions.DependencyInjection for a given type.

ConfigureDependencyInjection(IAspectReceiver<INamespace>, Action<DependencyInjectionOptionsBuilder>)

Configures Metalama.Extensions.DependencyInjection for a given type.

TryIntroduceDependency(IAspectBuilder, DependencyProperties, out IFieldOrProperty?)

Tries to introduce a dependency into a specified type.