Table of Contents

Constructor OwnPortrait

Namespace
MailFathom.Application.Portraits
Assembly
MailFathom.Application.dll

Initializes the use case.

public OwnPortrait(AccessAuthorization authorization, IStoredFileStore files, IUserRecordFileLinks links)

Parameters

authorization AccessAuthorization

Reports the grant the caller holds and the user it acts for.

files IStoredFileStore

Holds the file the portrait is.

links IUserRecordFileLinks

Reads and rewrites the link from the user record to that file.

Exceptions

ArgumentNullException

Thrown when any argument is null.