Table of Contents

Class ServiceCollectionExtensions

Namespace
MailFathom.Infrastructure
Assembly
MailFathom.Infrastructure.dll

Infrastructure dependency registration.

public static class ServiceCollectionExtensions
Inheritance
ServiceCollectionExtensions
Inherited Members

Methods

AddEmailEmbeddingGeneration(IServiceCollection)

Registers the units of work that turn a message's passages into vectors.

AddInfrastructure(IServiceCollection, Func<IServiceProvider, PostgresConnectionSettings>, PostgresTextSearchConfiguration, MailAnsweringBudget)

Registers EF Core persistence, MailKit mailbox access, and application synchronization services.

AddPersonalDataContentScanning(IServiceCollection)

Registers the detector of personal data in mail text, which reaches an analyzer deployed beside this service.

AddSecretContentScanning(IServiceCollection)

Registers the in-process detector of credentials in mail text, and what it declares it can find.

AddSecretResolution(IServiceCollection, SecretValueInterpretation)

Registers the secret reference grammar, the shipped scheme adapters, and the composite dispatch.

AddSpamAssassinScanning(IServiceCollection)

Registers the spam scanner, which scores whole messages against a daemon deployed beside this service.