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

BaseUsageValidationAttribute.ExclusionPredicateType Property

ExclusionPredicateType

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

Declaration
public Type? ExclusionPredicateType { get; init; }
Property Value
Type Description
Type