Table of Contents

Class UserMailCategoryFrequency

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

How often one category of mail was sent, per user who received it, over the period the outbox can still count.

public sealed record UserMailCategoryFrequency : IEquatable<UserMailCategoryFrequency>
Inheritance
UserMailCategoryFrequency
Implements
Inherited Members

Remarks

Sent means it left: a mail that bounced was sent and counts; one queued, skipped or given up does not. Only mail to users counts — mail to an address alone, such as an invitation, goes to people who may not be users. The figure is the average for those who received at least one, so a category sent to a few users often reads as often.

Properties

Category

The category's key.

public required string Category { get; init; }

Property Value

string

CoversAYear

Whether the period counted is a whole year.

public bool CoversAYear { get; }

Property Value

bool

PerMonth

The mails one user who received the category got, on average, per month; zero when none was sent.

public double PerMonth { get; }

Property Value

double

Phrase

The words for it, such as "About 2 a month".

public UserMailFrequencyPhrase Phrase { get; }

Property Value

UserMailFrequencyPhrase

Recipients

How many users received at least one of them; for a contact category, how many distinct addresses.

public int Recipients { get; init; }

Property Value

int

Sent

How many mails in the category were sent to users in the period.

public int Sent { get; init; }

Property Value

int

Since

When the period counted starts, in UTC: a year back, or less when the outbox keeps done mail for less long.

public required DateTime Since { get; init; }

Property Value

DateTime

Until

When the period counted ends, in UTC.

public required DateTime Until { get; init; }

Property Value

DateTime