Metalama 1.0 / / Metalama Documentation / Extensions API / Metalama.​Extensions.​Architecture.​Fabrics / Architecture­Verifier­Extensions / Cannot­Be­Used­From

Method CannotBeUsedFrom

CannotBeUsedFrom(ArchitectureVerifier, Func<ReferencePredicateBuilder, ReferencePredicate>, String)

Reports a warning when any type in the current scope is used from the context matching the specified predicate.

Declaration
public static void CannotBeUsedFrom(this ArchitectureVerifier verifier, Func<ReferencePredicateBuilder, ReferencePredicate> predicate, string description = null)
Parameters
Type Name Description
ArchitectureVerifier verifier
Func<ReferencePredicateBuilder, ReferencePredicate> predicate
String description