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

IDependencyInjectionFramework.CanHandleDependency Method

CanHandleDependency(DependencyProperties, in ScopedDiagnosticSink)

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

Declaration
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