Table of Contents

Method Create

Namespace
MailFathom.Application.Emails.ReplyDrafts
Assembly
MailFathom.Application.dll

Create(string, IReadOnlyList<StoredEmailId>)

Records one thing a draft asserts.

public static ReplyDraftClaim Create(string text, IReadOnlyList<StoredEmailId> sources)

Parameters

text string

What the draft asserts.

sources IReadOnlyList<StoredEmailId>

The messages backing it, which is empty where the conversation backs none of it.

Returns

ReplyDraftClaim

The claim, with the text shortened to its bound and the sources to theirs.

Exceptions

ArgumentNullException

Thrown when text or sources is null.

ArgumentException

Thrown when the text is blank.