Table of Contents

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

speech ImmutableArray<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. "Hero" told "Hero". is read as ["Hero"], and filling puts that single answer in both holes, so the line reads Ada told Ada.