Method Create
- Namespace
- MailFathom.Domain.Mutations
- Assembly
- MailFathom.Domain.dll
Create(MailboxMutationOrigin, string)
Restores a requester from the origin and identity a record holds.
public static MailboxMutationRequester Create(MailboxMutationOrigin origin, string identity)
Parameters
originMailboxMutationOriginThe kind of authored act that asked.
identitystringThe stored identity.
Returns
- MailboxMutationRequester
The requester those two name.
Exceptions
- ArgumentException
Thrown when
identityis blank, carries a control character, or is longer than MaximumIdentityLength.- ArgumentOutOfRangeException
Thrown when
originis not a declared origin.