Constructor ContactBookWriter
- Namespace
- MailFathom.Application.Contacts
- Assembly
- MailFathom.Application.dll
ContactBookWriter(ContactBook, ContactBookOwnership, AccessAuthorization)
Initializes the use case over the book it writes to and the authorization it asks first.
public ContactBookWriter(ContactBook book, ContactBookOwnership ownership, AccessAuthorization authorization)
Parameters
bookContactBookPerforms the acts the book supports.
ownershipContactBookOwnershipAnswers whose book this caller writes and which books they read.
authorizationAccessAuthorizationAnswers which principal reached this use case.
Exceptions
- ArgumentNullException
Thrown when a required collaborator is null.