MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Architecture.​AspectsBase­Usage­Validation­AttributeExclusion­Predicate­Type
Open sandboxFocus

BaseUsageValidationAttribute.ExclusionPredicateType Property

ExclusionPredicateType

Gets a System.Type, derived from ReferencePredicate, that determines exclusions for the current architecture rule. Specifically, no warning will be reported if the IsMatch(in ReferenceValidationContext) method of the ReferencePredicate returns true. This type must have a default constructor.

Declaration
public Type ExclusionPredicateType { get; set; }
Property Value
Type Description
System.Type