Struct AuthoredSendUsage
- Namespace
- MailFathom.Domain.Delivery.Governance
- Assembly
- MailFathom.Domain.dll
Counts what one caller has already asked one period to send.
public readonly record struct AuthoredSendUsage : IEquatable<AuthoredSendUsage>
- Implements
- Inherited Members
Remarks
Both are counted per distinct send rather than per call, so a caller retrying one message under the key it first asked under spends its allowance once. That is the same guarantee the outgoing record gives — one identity, one delivery — read here as one identity, one charge.
Constructors
- AuthoredSendUsage(long, long)
Counts what one caller has already asked one period to send.
Properties
- MessageCount
The messages the caller has been admitted for in the period.
- None
Gets the usage of a caller that has asked this period for nothing.
- RecipientCount
The people those messages were addressed to.