Open sandboxFocus

Method CanHandleDependency

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
bool