Class EventProposalBlock
- Namespace
- MailFathom.Application.Discovery.Presentation.Blocks
- Assembly
- MailFathom.Application.dll
A date to be put on the person's calendar, shown with its hour so they can correct it before they agree to it.
public sealed record EventProposalBlock : PresentationBlock, IEquatable<PresentationBlock>, IEquatable<EventProposalBlock>
- Inheritance
-
EventProposalBlock
- Implements
- Inherited Members
Remarks
The block for "put that meeting in my calendar". It is a proposal and never an act: the plan carries when the event would begin and end, and nothing here says anything reached a calendar.
It carries an instant rather than a local time because a date read out of mail is only as good as the offset it was written in, and a client draws it in the reader's own. What it does not carry is who is invited: an event this deployment holds is the person's own record of when they are committed, and nothing about it is sent to anybody.
Constructors
- EventProposalBlock(PresentationEvidence, PresentationText, DateTimeOffset, DateTimeOffset?, bool)
Initializes a date to be put on the calendar.
Properties
- IsAllDay
Gets whether it is proposed as a day rather than as a clock time.
- Start
Gets when it would begin.
- Title
Gets what the event would be called.