Table of Contents

Method ResolveAsync

Namespace
MailFathom.Application.Rules.Facts
Assembly
MailFathom.Application.dll

ResolveAsync(MailRuleFact, CancellationToken)

Resolves one fact's value in the form a condition compares against.

public Task<object?> ResolveAsync(MailRuleFact fact, CancellationToken cancellationToken)

Parameters

fact MailRuleFact

The declared fact a condition named.

cancellationToken CancellationToken

Cancels a resolution that reads stored content.

Returns

Task<object>

The value, which is null for a fact this email carries nothing for.

Exceptions

ArgumentException

Thrown when fact is the unspecified struct default.