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.
Declaration
public static void InternalsCannotOnlyBeUsedFrom(this ArchitectureVerifier verifier, Func<ReferencePredicateBuilder, ReferencePredicate> predicate, string description = null)
Parameters
Type | Name | Description |
---|---|---|
ArchitectureVerifier | verifier | |
Func<ReferencePredicateBuilder, ReferencePredicate> | predicate | |
String | description |