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.

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