Method Accepted
- Namespace
- MailFathom.Domain.Calendar
- Assembly
- MailFathom.Domain.dll
Accepted(DateTimeOffset)
Produces this proposal as an event on the calendar, under the identity it already had.
public CalendarEvent Accepted(DateTimeOffset acceptedAt)
Parameters
acceptedAtDateTimeOffsetWhen it was accepted.
Returns
- CalendarEvent
The same event, asserted.
Remarks
Accepting one twice is refused rather than treated as a repeat, because the second acceptance is a caller acting on a proposal somebody else already took: answering it as done would tell them the act they performed is what put the event on the calendar, and the time they are recording would move the record of when it actually was.
Exceptions
- InvalidOperationException
Thrown when this event is already asserted.