Enum CalendarEventOrigin
- Namespace
- MailFathom.Domain.Calendar
- Assembly
- MailFathom.Domain.dll
States whether an event is on the calendar or merely offered to it.
public enum CalendarEventOrigin
Fields
Asserted = 0Somebody put this event on their calendar.
Proposed = 1Something read this date out of mail, and nobody has accepted it.
Remarks
The two values are different claims rather than two kinds of event. An asserted event is one somebody put on their calendar — typed, imported from a file they chose, or accepted from a proposal; a proposed one is a date something read out of mail that nobody has agreed to. A proposal is therefore not a calendar entry: it is read where proposals are read and by nothing that answers what a day holds.
Accepting one changes this value on the row rather than writing a second record, so the proposal and the entry it became are one thing under one identity — which is what keeps the message it cites, and everything later derived from it, pointing at the event a person actually holds.