Metalama 1.0 / / Metalama Documentation / Extensions API / Metalama.​Extensions.​Dependency­Injection.​Implementation / Dependency­Context

Class DependencyContext

The base class for IntroduceDependencyContext and ImplementDependencyContext, which represent the context in which a dependency is being implemented or introduced.

Namespace: Metalama.Extensions.DependencyInjection.Implementation
Assembly: Metalama.Extensions.DependencyInjection.dll
Syntax
[CompileTime]
public abstract class DependencyContext : Object

Properties

Name Description
DependencyAttribute

Gets the IntroduceDependencyAttribute applied to FieldOrProperty.

Diagnostics

Gets object that allows to report diagnostics.

FieldOrProperty

Gets the advice field or property in the aspect type.

Project

Gets the current project.

TargetType

Gets the type into which the dependency should be weaved.