Method Keys
- Namespace
- DialogueDown.Playbook.Speech
- Assembly
- DialogueDown.Playbook.dll
Keys(ImmutableArray<SpeechFragment>)
The keys a run of speech asks the world about, in the order they first appear.
public static ImmutableArray<string> Keys(ImmutableArray<SpeechFragment> speech)
Parameters
speechImmutableArray<SpeechFragment>The speech to read.
Returns
- ImmutableArray<string>
The keys, each named once.
Remarks
Speech naming one key in two places has two holes but one key.
is read as "Hero" told "Hero".["Hero"], and filling puts that single
answer in both holes, so the line reads Ada told Ada.