Table of Contents

Method ReadPostureOfAsync

Namespace
MailFathom.Application.SensitiveContent.Egress
Assembly
MailFathom.Application.dll

ReadPostureOfAsync(MailAccountId, CancellationToken)

Reads what one account's mail is scanned under, for a use case acting on that account to act for.

public Task<MailAccountSensitiveContentPosture> ReadPostureOfAsync(MailAccountId account, CancellationToken cancellationToken)

Parameters

account MailAccountId

The account the use case is acting on.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<MailAccountSensitiveContentPosture>

The posture, which ActingFor(MailAccountSensitiveContentPosture) enters.

Remarks

Read apart from entering the scope for the reason ReadPostureAcrossAccountsOfAsync(UserId, CancellationToken) is: a use case reads the posture and then enters it, in that order, on its own flow.