Interface IHasIgnoredConceptRuleMembers

Namespace
Cratis.Arc.Validation
Assembly
Cratis.Arc.Core.dll

Defines a validator that can suppress the cross-cutting ConceptValidator<T> registered for one of its own concept-typed properties.

public interface IHasIgnoredConceptRuleMembers
Extension Methods

Remarks

This is deliberately non-generic: ModelGraphValidator resolves validators as a bare FluentValidation.IValidator against a runtime Type, and must be able to check for an exclusion set without depending on BaseValidator<T>'s FluentValidation-specific generic shape.

Properties

IgnoredConceptRuleMembers

Gets the camelCased top-level property names for which a registered ConceptValidator<T> (or any other IDiscoverableValidator<T> for the concept type) should not be invoked while validating this model.

IReadOnlySet<string> IgnoredConceptRuleMembers { get; }

Property Value

IReadOnlySet<string>