Class CompositeChecker
- Namespace
- DialogueDown.Playbook.Checking
- Assembly
- DialogueDown.Playbook.dll
Runs several checks as one, in the order they were given.
public sealed class CompositeChecker : IPlaybookChecker
- Inheritance
-
CompositeChecker
- Implements
- Inherited Members
Remarks
Order is how a caller says which failure explains the others: there is no point reporting that an edge leads nowhere in a document whose version we could not read in the first place. So the first refusal ends the run.
Constructors
- CompositeChecker(params IPlaybookChecker[])
Initializes a new instance of the CompositeChecker class.
Methods
- Check(PlaybookDocument)
Checks a playbook, and says nothing when it passes.