MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Dependency­Injection.​ImplementationDefault­Dependency­Injection­FrameworkCan­Handle­Dependency
Open sandboxFocus

DefaultDependencyInjectionFramework.CanHandleDependency Method

CanHandleDependency(DependencyProperties, in ScopedDiagnosticSink)

Determines whether the current instance can handle a DependencyAttribute aspect or IntroduceDependencyAttribute advice.

Declaration
public virtual bool CanHandleDependency(DependencyProperties properties, in ScopedDiagnosticSink diagnostics)
Parameters
Type Name Description
DependencyProperties properties

DependencyProperties or DependencyProperties.

ScopedDiagnosticSink diagnostics

A ScopedDiagnosticSink.

Returns
Type Description
System.Boolean
Implements
IDependencyInjectionFramework.CanHandleDependency(DependencyProperties, in ScopedDiagnosticSink)