Class PlaybookReader
- Namespace
- DialogueDown.Playbook
- Assembly
- DialogueDown.Playbook.dll
Loads a playbook, refusing anything it cannot play exactly as written.
public sealed class PlaybookReader
- Inheritance
-
PlaybookReader
- Inherited Members
Remarks
A gatekeeper before it is a parser. Unlike most formats, an unknown construct here cannot be skipped: a dropped condition does not error, it silently tells a different story. What counts as playable is the checker's to say, so a runtime that reads fewer constructs than this build can supply its own rather than inherit these.
Constructors
- PlaybookReader(IPlaybookChecker)
Initializes a new instance of the PlaybookReader class.
Properties
- Default
Gets a reader that accepts what this build can play.
Methods
- Read(string)
Reads a playbook and checks it holds together.