Property EventName
- Namespace
- MailFathom.Application.Discovery.Streaming
- Assembly
- MailFathom.Application.dll
EventName
Gets the name this event is published under, which is the value the type discriminator carries.
[JsonIgnore]
public abstract string EventName { get; }
Property Value
Remarks
Declared here so anything naming an event — a row's own kind column, say — uses the same word the JSON discriminator does rather than a second mapping that can disagree with it.
Every override carries JsonIgnoreAttribute again. The serializer reads the attribute off the member it is serializing rather than off the one that member overrides, so an override without it writes the word a second time into the document beside the discriminator, and the same holds for EndsTheRun. Both are how this run is read in process rather than anything a client is told.