Table of Contents

Method CountBilledCharacters

Namespace
MailFathom.Application.Emails.Embeddings
Assembly
MailFathom.Application.dll

CountBilledCharacters(string)

Counts the characters one passage occupies once this preparation has been applied to it.

public int CountBilledCharacters(string passage)

Parameters

passage string

The passage as a caller supplied it.

Returns

int

The length of the text a provider would be sent for it.

Remarks

What a spend ceiling is counted in. It answers without preparing the passage, because the ceiling is consulted before a batch is assembled and building the text to measure it would allocate a copy of every passage for a number the lengths already give. The instruction is added before the cut for the reason the preparation applies it there, so the two agree by construction rather than by coincidence.

Exceptions

ArgumentNullException

Thrown when passage is null.