Class PlaybookCheckerFactory
- Namespace
- DialogueDown.Playbook.Checking
- Assembly
- DialogueDown.Playbook.dll
Creates the checks a playbook must satisfy to be played by this build.
public static class PlaybookCheckerFactory
- Inheritance
-
PlaybookCheckerFactory
- Inherited Members
Remarks
The one place the standard set is wired, so what a default reader accepts can be read in a single method rather than gathered from a static on every checker.
Keeping it here also keeps each checker honest: a checker takes the policy it applies and knows nothing of the one this build happens to use, which is what lets a runtime supply narrower rules of its own.
Methods
- CreateDefault()
Creates the checks this build runs, in the order they are worth asking.
- CreateFormat()
Creates the check for whether this build can read a playbook's format at all.