Method AddLocalTextDerivations
- Namespace
- MailFathom.AI
- Assembly
- MailFathom.AI.dll
AddLocalTextDerivations(IServiceCollection)
Registers the derivations retrieval is built on that reach no provider and no network.
public static IServiceCollection AddLocalTextDerivations(this IServiceCollection services)
Parameters
servicesIServiceCollectionThe service collection to add to.
Returns
- IServiceCollection
The same service collection, so registration reads as one expression.
Remarks
Separate from whatever registers a provider adapter, because an instance with no embedding provider configured still chunks the mail it synchronizes: the chunks are what a later activation embeds, and deriving them costs nothing an operator has to consent to. The chunker is a singleton because it holds no state at all.
Exceptions
- ArgumentNullException
Thrown when
servicesis null.