Constructor CountedEmbeddingActivation
- Namespace
- MailFathom.Application.Emails.Embeddings.Administration
- Assembly
- MailFathom.Application.dll
CountedEmbeddingActivation(IEmbeddingGenerationStore, IEmbeddingWorkloadReader, EmbeddingSpendGate, EmbeddingProfileActivation)
Initializes a new counted activation.
public CountedEmbeddingActivation(IEmbeddingGenerationStore generationStore, IEmbeddingWorkloadReader workloadReader, EmbeddingSpendGate spendGate, EmbeddingProfileActivation activation)
Parameters
generationStoreIEmbeddingGenerationStoreReads which generations exist, which decides what an activation would do.
workloadReaderIEmbeddingWorkloadReaderCounts the passages the run would send.
spendGateEmbeddingSpendGateReads where the budget period stands.
activationEmbeddingProfileActivationPerforms the activation once it has been weighed.
Exceptions
- ArgumentNullException
Thrown when any argument is null.