Table of Contents

Method IsActiveForAsync

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

IsActiveForAsync(MailAccountId, CancellationToken)

Reports whether anything stops one account's message at this kind of egress.

public Task<bool> IsActiveForAsync(MailAccountId account, CancellationToken cancellationToken)

Parameters

account MailAccountId

The account whose message is about to be queued or filed.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<bool>

true when a finding in that message could stop it.

Remarks

Read by a consumer deciding whether work only a screen makes necessary is worth doing — parsing a message back into the values to screen, for one — never as permission to let the act happen unscreened, which is what calling the screen already does when it is inactive.