Method Schedule
- Namespace
- MailFathom.Domain.Delivery
- Assembly
- MailFathom.Domain.dll
Schedule(RecurringSendId, DateTimeOffset)
Names one occasion of a recurring send the owner declared, which is the declaration and the occasion together.
public static OutgoingEmailRequester Schedule(RecurringSendId declaration, DateTimeOffset occurrence)
Parameters
declarationRecurringSendIdThe recurring send whose occasion came round.
occurrenceDateTimeOffsetThe occasion itself, which is what makes one Monday's message a different request from the next.
Returns
- OutgoingEmailRequester
A requester naming that occasion of that declaration.
Remarks
Nobody is present when an occurrence is composed, so there is no key for a caller to supply and the identity is derived instead. The occasion is written to the second in UTC, so two instances reaching one occasion compose the same identity and the unique index answers the second with the message the first wrote — the same reasoning the recurring dispatch itself is keyed by, restated where a duplicate would be a second message in somebody's mailbox rather than a second row.