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

Method InternalsCannotOnlyBeUsedFrom

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

Reports a warning when any of the internal APIs of the current scope in used from a different context different than the one allowed, except if this concept has access to the type using inheritance rules.

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