Class SpeakerTag
- Namespace
- DialogueDown.Playbook.Speakers
- Assembly
- DialogueDown.Playbook.dll
An annotation on a speaker, such as a portrait or a voice a host binds.
public sealed record SpeakerTag : IEquatable<SpeakerTag>
- Inheritance
-
SpeakerTag
- Implements
- Inherited Members
Remarks
Shaped like a tag in speech but a separate type, because this one annotates a speaker rather than a point in a line — typing it as a fragment would put it in a union it can never appear in.
Constructors
- SpeakerTag(string, string?, bool)
An annotation on a speaker, such as a portrait or a voice a host binds.
Properties
- Name
Gets the tag's name.
- Reserved
Gets a value indicating whether the language reserves this name.
- Value
Gets the tag's value, or
nullwhen it carries none.