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

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.