Interface IIntentValidatorRegistry
- Namespace
- IntentSharp.Catalog
- Assembly
- IntentSharp.Catalog.dll
Code validators that intent files may reference by name (for checks that cannot be expressed as rules).
public interface IIntentValidatorRegistry
- Extension Methods
Properties
- Names
The registered names. The runtime lists them when a definition names a validator that is not registered.
Methods
- TryGet(string, out Func<object?, IEnumerable<string>>)
Finds the validator registered as
name. Returns false, withvalidatornull, when there is none; the runtime then refuses to run the intent and names the missing validator.