Class ServiceCollectionExtensions
- Namespace
- MailFathom.Infrastructure
- Assembly
- MailFathom.Infrastructure.dll
Infrastructure dependency registration.
public static class ServiceCollectionExtensions
- Inheritance
-
ServiceCollectionExtensions
- Inherited Members
Fields
- ImageDescriptionPacerKey
Names the pacer that spaces out the chat calls image description makes.
Methods
- AddEmailEmbeddingGeneration(IServiceCollection)
Registers the units of work that turn a message's passages into vectors.
- AddInfrastructure(IServiceCollection, Func<IServiceProvider, PostgresConnectionSettings>, PostgresTextSearchConfiguration, MailAnsweringBudget, Func<IServiceProvider, IMailAccountAssignments, IMailAccountAssignments>?)
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.
- AddSecretResolution(IServiceCollection, SecretValueInterpretation)
Registers the secret reference grammar, the shipped scheme adapters, and the composite dispatch.
- AddSensitiveContentCatalogs(IServiceCollection)
Registers what every scanner declares it can find, whichever scanners this deployment switched on.
- AddSpamAssassinScanning(IServiceCollection)
Registers the spam scanner, which scores whole messages against a daemon deployed beside this service.